From 435d44afff742a1fdea3ad3c4511cf80892635b1 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sun, 4 Jul 2021 13:37:07 +0530 Subject: Fixed issue with not being able to add new service. --- src/components/services/content/ServiceView.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components/services/content/ServiceView.js') 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'; import ServiceWebview from './ServiceWebview'; import SettingsStore from '../../../stores/SettingsStore'; import WebControlsScreen from '../../../features/webControls/containers/WebControlsScreen'; -import { CUSTOM_WEBSITE_ID } from '../../../features/webControls/constants'; +import { CUSTOM_WEBSITE_RECIPE_ID } from '../../../config'; export default @inject('stores', 'actions') @observer class ServiceView extends Component { static propTypes = { @@ -90,7 +90,7 @@ export default @inject('stores', 'actions') @observer class ServiceView extends navigationBarBehaviour, } = stores.settings.app; - const showNavBar = navigationBarBehaviour === 'always' || (navigationBarBehaviour === 'custom' && service.recipe.id === CUSTOM_WEBSITE_ID); + const showNavBar = navigationBarBehaviour === 'always' || (navigationBarBehaviour === 'custom' && service.recipe.id === CUSTOM_WEBSITE_RECIPE_ID); const webviewClasses = classnames({ services__webview: true, -- cgit v1.2.3-54-g00ecf