aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/services/content/ServiceView.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/services/content/ServiceView.js')
-rw-r--r--src/components/services/content/ServiceView.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/components/services/content/ServiceView.js b/src/components/services/content/ServiceView.js
index c45acc961..0cfefc92b 100644
--- a/src/components/services/content/ServiceView.js
+++ b/src/components/services/content/ServiceView.js
@@ -13,6 +13,7 @@ import WebviewErrorHandler from './ErrorHandlers/WebviewErrorHandler';
13import ServiceDisabled from './ServiceDisabled'; 13import ServiceDisabled from './ServiceDisabled';
14import ServiceWebview from './ServiceWebview'; 14import ServiceWebview from './ServiceWebview';
15import SettingsStore from '../../../stores/SettingsStore'; 15import SettingsStore from '../../../stores/SettingsStore';
16import WebControlsScreen from '../../../features/webControls/containers/WebControlsScreen';
16 17
17export default @observer @inject('stores') class ServiceView extends Component { 18export default @observer @inject('stores') class ServiceView extends Component {
18 static propTypes = { 19 static propTypes = {
@@ -177,6 +178,9 @@ export default @observer @inject('stores') class ServiceView extends Component {
177 </Fragment> 178 </Fragment>
178 ) : ( 179 ) : (
179 <> 180 <>
181 {service.recipe.id === 'franz-custom-website' && (
182 <WebControlsScreen service={service} />
183 )}
180 {!this.state.hibernate ? ( 184 {!this.state.hibernate ? (
181 <ServiceWebview 185 <ServiceWebview
182 service={service} 186 service={service}
@@ -187,7 +191,7 @@ export default @observer @inject('stores') class ServiceView extends Component {
187 <div> 191 <div>
188 <span role="img" aria-label="Sleeping Emoji">😴</span> 192 <span role="img" aria-label="Sleeping Emoji">😴</span>
189 {' '} 193 {' '}
190This service is currently hibernating. If this page doesn&#x27;t close soon, please try reloading Ferdi. 194 This service is currently hibernating. If this page doesn&#x27;t close soon, please try reloading Ferdi.
191 </div> 195 </div>
192 )} 196 )}
193 </> 197 </>