aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/services/content/ServiceView.js
diff options
context:
space:
mode:
authorLibravatar vantezzen <hello@vantezzen.io>2019-10-04 09:57:58 +0200
committerLibravatar vantezzen <hello@vantezzen.io>2019-10-04 09:57:58 +0200
commit0cc9cf26b2eab7d3b02322982ae3c65ad21a8e04 (patch)
treefc353ff01755fc73cb6d59d1df8f885777067744 /src/components/services/content/ServiceView.js
parentMerge branch 'franz-5.4.0' into develop (diff)
downloadferdium-app-0cc9cf26b2eab7d3b02322982ae3c65ad21a8e04.tar.gz
ferdium-app-0cc9cf26b2eab7d3b02322982ae3c65ad21a8e04.tar.zst
ferdium-app-0cc9cf26b2eab7d3b02322982ae3c65ad21a8e04.zip
Fix lint
Diffstat (limited to 'src/components/services/content/ServiceView.js')
-rw-r--r--src/components/services/content/ServiceView.js36
1 files changed, 13 insertions, 23 deletions
diff --git a/src/components/services/content/ServiceView.js b/src/components/services/content/ServiceView.js
index 74d8af0bc..0cfefc92b 100644
--- a/src/components/services/content/ServiceView.js
+++ b/src/components/services/content/ServiceView.js
@@ -178,31 +178,21 @@ export default @observer @inject('stores') class ServiceView extends Component {
178 </Fragment> 178 </Fragment>
179 ) : ( 179 ) : (
180 <> 180 <>
181 {service.isServiceAccessRestricted ? ( 181 {service.recipe.id === 'franz-custom-website' && (
182 <ServiceRestricted 182 <WebControlsScreen service={service} />
183 name={service.recipe.name} 183 )}
184 upgrade={upgrade} 184 {!this.state.hibernate ? (
185 type={service.restrictionType} 185 <ServiceWebview
186 service={service}
187 setWebviewReference={setWebviewReference}
188 detachService={detachService}
186 /> 189 />
187 ) : ( 190 ) : (
188 <> 191 <div>
189 {service.recipe.id === 'franz-custom-website' && ( 192 <span role="img" aria-label="Sleeping Emoji">😴</span>
190 <WebControlsScreen service={service} /> 193 {' '}
191 )} 194 This service is currently hibernating. If this page doesn&#x27;t close soon, please try reloading Ferdi.
192 {!this.state.hibernate ? ( 195 </div>
193 <ServiceWebview
194 service={service}
195 setWebviewReference={setWebviewReference}
196 detachService={detachService}
197 />
198 ) : (
199 <div>
200 <span role="img" aria-label="Sleeping Emoji">😴</span>
201 {' '}
202 This service is currently hibernating. If this page doesn&#x27;t close soon, please try reloading Ferdi.
203 </div>
204 )}
205 </>
206 )} 196 )}
207 </> 197 </>
208 )} 198 )}