diff options
author | 2023-05-28 13:48:21 +0530 | |
---|---|---|
committer | 2023-05-28 13:48:21 +0530 | |
commit | 99ca310c73024b51fed1f3077375eed7827f2c20 (patch) | |
tree | 2bd15986f448129a2291acba90ccc6bf68a233e0 /src/components/settings/services | |
parent | Disable in-app auto-updates for portable windows installation (fixes #1088) (... (diff) | |
download | ferdium-app-99ca310c73024b51fed1f3077375eed7827f2c20.tar.gz ferdium-app-99ca310c73024b51fed1f3077375eed7827f2c20.tar.zst ferdium-app-99ca310c73024b51fed1f3077375eed7827f2c20.zip |
Fix issues reported by sonarqube linter
Diffstat (limited to 'src/components/settings/services')
-rw-r--r-- | src/components/settings/services/ServiceItem.tsx | 2 | ||||
-rw-r--r-- | src/components/settings/services/ServicesDashboard.tsx | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/components/settings/services/ServiceItem.tsx b/src/components/settings/services/ServiceItem.tsx index 0737a680c..bf2dfa9da 100644 --- a/src/components/settings/services/ServiceItem.tsx +++ b/src/components/settings/services/ServiceItem.tsx | |||
@@ -32,7 +32,7 @@ class ServiceItem extends Component<IProps> { | |||
32 | render(): ReactElement { | 32 | render(): ReactElement { |
33 | const { | 33 | const { |
34 | service, | 34 | service, |
35 | // toggleAction, // TODO - [TECH DEBT][PROP NOT USED IN COMPONENT] check it later | 35 | // toggleAction, // TODO: [TECH DEBT][PROP NOT USED IN COMPONENT] check it later |
36 | goToServiceForm, | 36 | goToServiceForm, |
37 | } = this.props; | 37 | } = this.props; |
38 | const { intl } = this.props; | 38 | const { intl } = this.props; |
diff --git a/src/components/settings/services/ServicesDashboard.tsx b/src/components/settings/services/ServicesDashboard.tsx index 36057902f..d64779a36 100644 --- a/src/components/settings/services/ServicesDashboard.tsx +++ b/src/components/settings/services/ServicesDashboard.tsx | |||
@@ -54,7 +54,7 @@ const messages = defineMessages({ | |||
54 | interface IProps extends WrappedComponentProps { | 54 | interface IProps extends WrappedComponentProps { |
55 | services: Service[]; | 55 | services: Service[]; |
56 | isLoading: boolean; | 56 | isLoading: boolean; |
57 | // toggleService: any; // TODO - - [TECH DEBT] check it later | 57 | // toggleService: any; // TODO: [TECH DEBT] check it later |
58 | filterServices: any; | 58 | filterServices: any; |
59 | resetFilter: () => void; | 59 | resetFilter: () => void; |
60 | goTo: (to: To, state?: any) => void; | 60 | goTo: (to: To, state?: any) => void; |
@@ -70,7 +70,7 @@ class ServicesDashboard extends Component<IProps> { | |||
70 | const { | 70 | const { |
71 | services, | 71 | services, |
72 | isLoading, | 72 | isLoading, |
73 | // toggleService, // TODO - - [TECH DEBT] check it later | 73 | // toggleService, // TODO: [TECH DEBT] check it later |
74 | filterServices, | 74 | filterServices, |
75 | resetFilter, | 75 | resetFilter, |
76 | goTo, | 76 | goTo, |
@@ -163,7 +163,7 @@ class ServicesDashboard extends Component<IProps> { | |||
163 | <ServiceItem | 163 | <ServiceItem |
164 | key={service.id} | 164 | key={service.id} |
165 | service={service} | 165 | service={service} |
166 | // TODO - - [TECH DEBT][PROPS NOT USED IN COMPONENT] check it later | 166 | // TODO: [TECH DEBT][PROPS NOT USED IN COMPONENT] check it later |
167 | // toggleAction={() => | 167 | // toggleAction={() => |
168 | // toggleService({ serviceId: service.id }) | 168 | // toggleService({ serviceId: service.id }) |
169 | // } | 169 | // } |