summaryrefslogtreecommitdiffstats
path: root/src/features/todos
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2023-05-28 13:48:21 +0530
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2023-05-28 13:48:21 +0530
commit99ca310c73024b51fed1f3077375eed7827f2c20 (patch)
tree2bd15986f448129a2291acba90ccc6bf68a233e0 /src/features/todos
parentDisable in-app auto-updates for portable windows installation (fixes #1088) (... (diff)
downloadferdium-app-99ca310c73024b51fed1f3077375eed7827f2c20.tar.gz
ferdium-app-99ca310c73024b51fed1f3077375eed7827f2c20.tar.zst
ferdium-app-99ca310c73024b51fed1f3077375eed7827f2c20.zip
Fix issues reported by sonarqube linter
Diffstat (limited to 'src/features/todos')
-rw-r--r--src/features/todos/components/TodosWebview.tsx2
-rw-r--r--src/features/todos/containers/TodosScreen.tsx2
-rw-r--r--src/features/todos/store.ts2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/features/todos/components/TodosWebview.tsx b/src/features/todos/components/TodosWebview.tsx
index 4b53df956..7b1b17e64 100644
--- a/src/features/todos/components/TodosWebview.tsx
+++ b/src/features/todos/components/TodosWebview.tsx
@@ -196,7 +196,7 @@ class TodosWebview extends Component<IProps, IState> {
196 )} 196 )}
197 {isTodoUrlValid && ( 197 {isTodoUrlValid && (
198 <Webview 198 <Webview
199 // className={classes.webview} // TODO - [TS DEBT] style not found 199 // className={classes.webview} // TODO: [TS DEBT] style not found
200 onDidAttach={() => { 200 onDidAttach={() => {
201 const { setTodosWebview } = this.props; 201 const { setTodosWebview } = this.props;
202 setTodosWebview(this.webview); 202 setTodosWebview(this.webview);
diff --git a/src/features/todos/containers/TodosScreen.tsx b/src/features/todos/containers/TodosScreen.tsx
index 17f61bd95..8941a4b39 100644
--- a/src/features/todos/containers/TodosScreen.tsx
+++ b/src/features/todos/containers/TodosScreen.tsx
@@ -31,7 +31,7 @@ class TodosScreen extends Component<IProps> {
31 this.props.stores!.services.isTodosServiceActive || false 31 this.props.stores!.services.isTodosServiceActive || false
32 } 32 }
33 isVisible={todosStore.isTodosPanelVisible} 33 isVisible={todosStore.isTodosPanelVisible}
34 // togglePanel={todoActions.toggleTodosPanel} // TODO - [TECH DEBT][PROP NOT USED IN COMPONENT] check it later 34 // togglePanel={todoActions.toggleTodosPanel} // TODO: [TECH DEBT][PROP NOT USED IN COMPONENT] check it later
35 handleClientMessage={todoActions.handleClientMessage} 35 handleClientMessage={todoActions.handleClientMessage}
36 setTodosWebview={webview => todoActions.setTodosWebview(webview)} 36 setTodosWebview={webview => todoActions.setTodosWebview(webview)}
37 width={todosStore.width} 37 width={todosStore.width}
diff --git a/src/features/todos/store.ts b/src/features/todos/store.ts
index 94be4db6a..882fa6a1e 100644
--- a/src/features/todos/store.ts
+++ b/src/features/todos/store.ts
@@ -149,7 +149,7 @@ export default class TodoStore extends FeatureStore {
149 @action stop() { 149 @action stop() {
150 super.stop(); 150 super.stop();
151 debug('TodoStore::stop'); 151 debug('TodoStore::stop');
152 // this.reset(); // TODO - [TECH DEBT][PROP NOT IN CLASS] check it later 152 // this.reset(); // TODO: [TECH DEBT][PROP NOT IN CLASS] check it later
153 this.isFeatureActive = false; 153 this.isFeatureActive = false;
154 } 154 }
155 155