diff options
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/services/content/ServiceView.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/services/content/ServiceView.js b/src/components/services/content/ServiceView.js index e8df58a1e..3b09518c5 100644 --- a/src/components/services/content/ServiceView.js +++ b/src/components/services/content/ServiceView.js | |||
@@ -13,6 +13,7 @@ import ServiceDisabled from './ServiceDisabled'; | |||
13 | import ServiceRestricted from './ServiceRestricted'; | 13 | import ServiceRestricted from './ServiceRestricted'; |
14 | import ServiceWebview from './ServiceWebview'; | 14 | import ServiceWebview from './ServiceWebview'; |
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 | 17 | ||
17 | export default @observer class ServiceView extends Component { | 18 | export default @observer class ServiceView extends Component { |
18 | static propTypes = { | 19 | static propTypes = { |
@@ -139,7 +140,7 @@ export default @observer class ServiceView extends Component { | |||
139 | /> | 140 | /> |
140 | ) : ( | 141 | ) : ( |
141 | <> | 142 | <> |
142 | {service.recipe.id === 'franz-custom-website' && ( | 143 | {service.recipe.id === CUSTOM_WEBSITE_ID && ( |
143 | <WebControlsScreen service={service} /> | 144 | <WebControlsScreen service={service} /> |
144 | )} | 145 | )} |
145 | <ServiceWebview | 146 | <ServiceWebview |