diff options
author | 2021-07-04 13:37:07 +0530 | |
---|---|---|
committer | 2021-07-04 15:00:06 +0530 | |
commit | 435d44afff742a1fdea3ad3c4511cf80892635b1 (patch) | |
tree | 11da34f39e090a337d7a840377e812c06ba45719 /src/components | |
parent | Fixed eslint warning (diff) | |
download | ferdium-app-435d44afff742a1fdea3ad3c4511cf80892635b1.tar.gz ferdium-app-435d44afff742a1fdea3ad3c4511cf80892635b1.tar.zst ferdium-app-435d44afff742a1fdea3ad3c4511cf80892635b1.zip |
Fixed issue with not being able to add new service.
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/services/content/ServiceView.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/services/content/ServiceView.js b/src/components/services/content/ServiceView.js index 3c0fed32b..17d2db5a0 100644 --- a/src/components/services/content/ServiceView.js +++ b/src/components/services/content/ServiceView.js | |||
@@ -13,7 +13,7 @@ import ServiceDisabled from './ServiceDisabled'; | |||
13 | import ServiceWebview from './ServiceWebview'; | 13 | import ServiceWebview from './ServiceWebview'; |
14 | import SettingsStore from '../../../stores/SettingsStore'; | 14 | import SettingsStore from '../../../stores/SettingsStore'; |
15 | import WebControlsScreen from '../../../features/webControls/containers/WebControlsScreen'; | 15 | import WebControlsScreen from '../../../features/webControls/containers/WebControlsScreen'; |
16 | import { CUSTOM_WEBSITE_ID } from '../../../features/webControls/constants'; | 16 | import { CUSTOM_WEBSITE_RECIPE_ID } from '../../../config'; |
17 | 17 | ||
18 | export default @inject('stores', 'actions') @observer class ServiceView extends Component { | 18 | export default @inject('stores', 'actions') @observer class ServiceView extends Component { |
19 | static propTypes = { | 19 | static propTypes = { |
@@ -90,7 +90,7 @@ export default @inject('stores', 'actions') @observer class ServiceView extends | |||
90 | navigationBarBehaviour, | 90 | navigationBarBehaviour, |
91 | } = stores.settings.app; | 91 | } = stores.settings.app; |
92 | 92 | ||
93 | const showNavBar = navigationBarBehaviour === 'always' || (navigationBarBehaviour === 'custom' && service.recipe.id === CUSTOM_WEBSITE_ID); | 93 | const showNavBar = navigationBarBehaviour === 'always' || (navigationBarBehaviour === 'custom' && service.recipe.id === CUSTOM_WEBSITE_RECIPE_ID); |
94 | 94 | ||
95 | const webviewClasses = classnames({ | 95 | const webviewClasses = classnames({ |
96 | services__webview: true, | 96 | services__webview: true, |