From b0e0665fe2cefb7cfe69d73b338437e03f0b59de Mon Sep 17 00:00:00 2001
From: Christian Hofmaier
Date: Thu, 2 Jul 2020 20:04:27 +0000
Subject: [permissionmanager] frontend use own getChilds function

---
 webapp/src/components/PermissionModuleEdit.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'webapp/src/components/PermissionModuleEdit.vue')

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 {
-- 
cgit v1.2.3-55-g7522

