diff options
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, |