summaryrefslogtreecommitdiffstats
path: root/webapp
diff options
context:
space:
mode:
authorChristian Hofmaier2020-07-02 22:04:27 +0200
committerChristian Hofmaier2020-07-02 22:04:27 +0200
commitb0e0665fe2cefb7cfe69d73b338437e03f0b59de (patch)
tree9dd90b168e38b637def9011f0b46b48415cf308a /webapp
parent[permissionmanager] return group objects instead of id list (diff)
downloadbas-b0e0665fe2cefb7cfe69d73b338437e03f0b59de.tar.gz
bas-b0e0665fe2cefb7cfe69d73b338437e03f0b59de.tar.xz
bas-b0e0665fe2cefb7cfe69d73b338437e03f0b59de.zip
[permissionmanager] frontend use own getChilds function
Diffstat (limited to 'webapp')
-rw-r--r--webapp/src/components/EventModuleEdit.vue2
-rw-r--r--webapp/src/components/PermissionModuleEdit.vue2
2 files changed, 2 insertions, 2 deletions
diff --git a/webapp/src/components/EventModuleEdit.vue b/webapp/src/components/EventModuleEdit.vue
index c079ee5..c5aabe1 100644
--- a/webapp/src/components/EventModuleEdit.vue
+++ b/webapp/src/components/EventModuleEdit.vue
@@ -631,7 +631,7 @@ export default {
},
async loadChilds () {
if (this.groups.length > 0) {
- var response = await this.$http.post('/api/events/blacklist', { groups: this.groups })
+ var response = await this.$http.post('/api/events/getChilds', { groups: this.groups })
this.blackgroupList = response.data.subgroups
this.blackclientList = response.data.clients
this.blacklistGroups = this.blacklistGroups.filter(g => this.blackgroupList.map(x => x.id).indexOf(g.id) !== -1)
diff --git a/webapp/src/components/PermissionModuleEdit.vue b/webapp/src/components/PermissionModuleEdit.vue
index 85102b5..198bacf 100644
--- a/webapp/src/components/PermissionModuleEdit.vue
+++ b/webapp/src/components/PermissionModuleEdit.vue
@@ -205,7 +205,7 @@ export default {
},
async loadChilds () {
if (this.groups.length > 0) {
- var response = await this.$http.post('/api/events/blacklist', { groups: this.groups })
+ var response = await this.$http.post('/api/roles/getChilds', { groups: this.groups })
this.blacklistList = response.data.subgroups
this.blacklist = this.blacklist.filter(g => this.blacklistList.map(x => x.id).indexOf(g.id) !== -1)
} else {