diff options
author | vantezzen <properly@protonmail.com> | 2019-09-07 16:12:13 +0200 |
---|---|---|
committer | vantezzen <properly@protonmail.com> | 2019-09-07 16:12:13 +0200 |
commit | 44a7cfc62d1a1352a9825d172428b12dca44cab0 (patch) | |
tree | 15cc743be3347390aa223abfeec3cc2054a23882 /src/features/serviceLimit/store.js | |
parent | Bump version number (diff) | |
download | ferdium-app-44a7cfc62d1a1352a9825d172428b12dca44cab0.tar.gz ferdium-app-44a7cfc62d1a1352a9825d172428b12dca44cab0.tar.zst ferdium-app-44a7cfc62d1a1352a9825d172428b12dca44cab0.zip |
Remove service limit and enable workspaces
Diffstat (limited to 'src/features/serviceLimit/store.js')
-rw-r--r-- | src/features/serviceLimit/store.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/features/serviceLimit/store.js b/src/features/serviceLimit/store.js index 9836c5f51..9c4b5ef1a 100644 --- a/src/features/serviceLimit/store.js +++ b/src/features/serviceLimit/store.js | |||
@@ -12,7 +12,7 @@ export class ServiceLimitStore extends FeatureStore { | |||
12 | this.stores = stores; | 12 | this.stores = stores; |
13 | this.actions = actions; | 13 | this.actions = actions; |
14 | 14 | ||
15 | this.isServiceLimitEnabled = true; | 15 | this.isServiceLimitEnabled = false; |
16 | } | 16 | } |
17 | 17 | ||
18 | stop() { | 18 | stop() { |
@@ -22,9 +22,10 @@ export class ServiceLimitStore extends FeatureStore { | |||
22 | } | 22 | } |
23 | 23 | ||
24 | @computed get userHasReachedServiceLimit() { | 24 | @computed get userHasReachedServiceLimit() { |
25 | if (!this.isServiceLimitEnabled) return false; | 25 | return false; |
26 | // if (!this.isServiceLimitEnabled) return false; | ||
26 | 27 | ||
27 | return this.serviceLimit !== 0 && this.serviceCount >= this.serviceLimit; | 28 | // return this.serviceLimit !== 0 && this.serviceCount >= this.serviceLimit; |
28 | } | 29 | } |
29 | 30 | ||
30 | @computed get serviceLimit() { | 31 | @computed get serviceLimit() { |