aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/services/content/ServiceView.js
diff options
context:
space:
mode:
authorLibravatar vantezzen <properly@protonmail.com>2019-09-07 18:18:24 +0200
committerLibravatar vantezzen <properly@protonmail.com>2019-09-07 18:18:24 +0200
commit861fa78258f354c066d500ddac5b59710b708a1f (patch)
tree6c208a25d9ad2a7934ec424e94832b4a75e5621f /src/components/services/content/ServiceView.js
parentMake todo server editable (diff)
downloadferdium-app-861fa78258f354c066d500ddac5b59710b708a1f.tar.gz
ferdium-app-861fa78258f354c066d500ddac5b59710b708a1f.tar.zst
ferdium-app-861fa78258f354c066d500ddac5b59710b708a1f.zip
Remove service restriction
Diffstat (limited to 'src/components/services/content/ServiceView.js')
-rw-r--r--src/components/services/content/ServiceView.js18
1 files changed, 5 insertions, 13 deletions
diff --git a/src/components/services/content/ServiceView.js b/src/components/services/content/ServiceView.js
index f65f51346..86bc06895 100644
--- a/src/components/services/content/ServiceView.js
+++ b/src/components/services/content/ServiceView.js
@@ -130,19 +130,11 @@ export default @observer class ServiceView extends Component {
130 </Fragment> 130 </Fragment>
131 ) : ( 131 ) : (
132 <> 132 <>
133 {service.isServiceAccessRestricted ? ( 133 <ServiceWebview
134 <ServiceRestricted 134 service={service}
135 name={service.recipe.name} 135 setWebviewReference={setWebviewReference}
136 upgrade={upgrade} 136 detachService={detachService}
137 type={service.restrictionType} 137 />
138 />
139 ) : (
140 <ServiceWebview
141 service={service}
142 setWebviewReference={setWebviewReference}
143 detachService={detachService}
144 />
145 )}
146 </> 138 </>
147 )} 139 )}
148 {statusBar} 140 {statusBar}