summaryrefslogtreecommitdiffstats
path: root/apps/settings/src/components/AppManagement.vue
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-07-31 09:26:43 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-07-31 09:26:43 +0200
commit0f8aca9d87db9022fe942a3d3fbb11433e152676 (patch)
tree5b36724719611ebb87b3d9290a51475f32b48e64 /apps/settings/src/components/AppManagement.vue
parentfc31cb8bf2d6cf7ee7af46af38e1b06002f7fb26 (diff)
downloadnextcloud-server-0f8aca9d87db9022fe942a3d3fbb11433e152676.tar.gz
nextcloud-server-0f8aca9d87db9022fe942a3d3fbb11433e152676.zip
Bump compiled files
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/settings/src/components/AppManagement.vue')
-rw-r--r--apps/settings/src/components/AppManagement.vue16
1 files changed, 8 insertions, 8 deletions
diff --git a/apps/settings/src/components/AppManagement.vue b/apps/settings/src/components/AppManagement.vue
index 8d9ebed5e42..6bf1eee83cf 100644
--- a/apps/settings/src/components/AppManagement.vue
+++ b/apps/settings/src/components/AppManagement.vue
@@ -76,7 +76,7 @@ export default {
}
return false
},
- setGroupLimit: function() {
+ setGroupLimit() {
if (!this.groupCheckedAppsData) {
this.$store.dispatch('enableApp', { appId: this.app.id, groups: [] })
}
@@ -93,7 +93,7 @@ export default {
},
addGroupLimitation(group) {
const groups = this.app.groups.concat([]).concat([group.id])
- this.$store.dispatch('enableApp', { appId: this.app.id, groups: groups })
+ this.$store.dispatch('enableApp', { appId: this.app.id, groups })
},
removeGroupLimitation(group) {
const currentGroups = this.app.groups.concat([])
@@ -104,32 +104,32 @@ export default {
this.$store.dispatch('enableApp', { appId: this.app.id, groups: currentGroups })
},
forceEnable(appId) {
- this.$store.dispatch('forceEnableApp', { appId: appId, groups: [] })
+ this.$store.dispatch('forceEnableApp', { appId, groups: [] })
.then((response) => { OC.Settings.Apps.rebuildNavigation() })
.catch((error) => { OC.Notification.show(error) })
},
enable(appId) {
- this.$store.dispatch('enableApp', { appId: appId, groups: [] })
+ this.$store.dispatch('enableApp', { appId, groups: [] })
.then((response) => { OC.Settings.Apps.rebuildNavigation() })
.catch((error) => { OC.Notification.show(error) })
},
disable(appId) {
- this.$store.dispatch('disableApp', { appId: appId })
+ this.$store.dispatch('disableApp', { appId })
.then((response) => { OC.Settings.Apps.rebuildNavigation() })
.catch((error) => { OC.Notification.show(error) })
},
remove(appId) {
- this.$store.dispatch('uninstallApp', { appId: appId })
+ this.$store.dispatch('uninstallApp', { appId })
.then((response) => { OC.Settings.Apps.rebuildNavigation() })
.catch((error) => { OC.Notification.show(error) })
},
install(appId) {
- this.$store.dispatch('enableApp', { appId: appId })
+ this.$store.dispatch('enableApp', { appId })
.then((response) => { OC.Settings.Apps.rebuildNavigation() })
.catch((error) => { OC.Notification.show(error) })
},
update(appId) {
- this.$store.dispatch('updateApp', { appId: appId })
+ this.$store.dispatch('updateApp', { appId })
.then((response) => { OC.Settings.Apps.rebuildNavigation() })
.catch((error) => { OC.Notification.show(error) })
},