aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/services/content/ServiceView.js
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-07-04 13:37:07 +0530
committerLibravatar Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>2021-07-04 15:00:06 +0530
commit435d44afff742a1fdea3ad3c4511cf80892635b1 (patch)
tree11da34f39e090a337d7a840377e812c06ba45719 /src/components/services/content/ServiceView.js
parentFixed eslint warning (diff)
downloadferdium-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/services/content/ServiceView.js')
-rw-r--r--src/components/services/content/ServiceView.js4
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';
13import ServiceWebview from './ServiceWebview'; 13import ServiceWebview from './ServiceWebview';
14import SettingsStore from '../../../stores/SettingsStore'; 14import SettingsStore from '../../../stores/SettingsStore';
15import WebControlsScreen from '../../../features/webControls/containers/WebControlsScreen'; 15import WebControlsScreen from '../../../features/webControls/containers/WebControlsScreen';
16import { CUSTOM_WEBSITE_ID } from '../../../features/webControls/constants'; 16import { CUSTOM_WEBSITE_RECIPE_ID } from '../../../config';
17 17
18export default @inject('stores', 'actions') @observer class ServiceView extends Component { 18export 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,