diff options
author | 2021-07-02 19:49:55 -0600 | |
---|---|---|
committer | 2021-07-03 07:19:55 +0530 | |
commit | 33123c354b79f7951423dd75097b11e7eb075f99 (patch) | |
tree | 29f6e857f02d0e0fc67d89a657a54a865ed5538a /src/components/services/content/ServiceView.js | |
parent | Minor refactoring to move all runtime configs from 'config.js' into 'environm... (diff) | |
download | ferdium-app-33123c354b79f7951423dd75097b11e7eb075f99.tar.gz ferdium-app-33123c354b79f7951423dd75097b11e7eb075f99.tar.zst ferdium-app-33123c354b79f7951423dd75097b11e7eb075f99.zip |
Upgrade various dependencies to latest part 2 (#1557)
* Upgrade various dependencies to latest, remove unnecessary electron-hunspell
- upgrade eslint and friends to latest
- remove deprecated 'node-sass' in favor of 'sass'
- disable new rules from 'eslint-config-airbnb' that are conflicting with current code style
- add workspace config for 'vscode' that silences 'experimentalDecorator' warning and forces 'prettier' to single quote
* Run yarn lint to autofix with new ruleset and worked down lint issues to zero
Diffstat (limited to 'src/components/services/content/ServiceView.js')
-rw-r--r-- | src/components/services/content/ServiceView.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/services/content/ServiceView.js b/src/components/services/content/ServiceView.js index 444d5fea4..3c0fed32b 100644 --- a/src/components/services/content/ServiceView.js +++ b/src/components/services/content/ServiceView.js | |||
@@ -109,7 +109,7 @@ export default @inject('stores', 'actions') @observer class ServiceView extends | |||
109 | return ( | 109 | return ( |
110 | <div className={webviewClasses}> | 110 | <div className={webviewClasses}> |
111 | {service.isActive && service.isEnabled && ( | 111 | {service.isActive && service.isEnabled && ( |
112 | <Fragment> | 112 | <> |
113 | {service.hasCrashed && ( | 113 | {service.hasCrashed && ( |
114 | <WebviewCrashHandler | 114 | <WebviewCrashHandler |
115 | name={service.recipe.name} | 115 | name={service.recipe.name} |
@@ -131,10 +131,10 @@ export default @inject('stores', 'actions') @observer class ServiceView extends | |||
131 | edit={edit} | 131 | edit={edit} |
132 | /> | 132 | /> |
133 | )} | 133 | )} |
134 | </Fragment> | 134 | </> |
135 | )} | 135 | )} |
136 | {!service.isEnabled ? ( | 136 | {!service.isEnabled ? ( |
137 | <Fragment> | 137 | <> |
138 | {service.isActive && ( | 138 | {service.isActive && ( |
139 | <ServiceDisabled | 139 | <ServiceDisabled |
140 | name={service.recipe.name} | 140 | name={service.recipe.name} |
@@ -142,7 +142,7 @@ export default @inject('stores', 'actions') @observer class ServiceView extends | |||
142 | enable={enable} | 142 | enable={enable} |
143 | /> | 143 | /> |
144 | )} | 144 | )} |
145 | </Fragment> | 145 | </> |
146 | ) : ( | 146 | ) : ( |
147 | <> | 147 | <> |
148 | {(!service.isHibernating || service.isHibernationEnabled) ? ( | 148 | {(!service.isHibernating || service.isHibernationEnabled) ? ( |