summaryrefslogtreecommitdiffstats
path: root/webapp/src/components/PermissionModuleEdit.vue
diff options
context:
space:
mode:
authorChristian Hofmaier2019-01-11 19:00:03 +0100
committerChristian Hofmaier2019-01-11 19:00:03 +0100
commit24d8374adc899df422c909ce8da33ecc990ec884 (patch)
treee6afe7f7ae9f3df0cd4be1b2e177dd6037a50a97 /webapp/src/components/PermissionModuleEdit.vue
parentTimeout dynamic config menu (diff)
downloadbas-24d8374adc899df422c909ce8da33ecc990ec884.tar.gz
bas-24d8374adc899df422c909ce8da33ecc990ec884.tar.xz
bas-24d8374adc899df422c909ce8da33ecc990ec884.zip
Change API to new structure
Diffstat (limited to 'webapp/src/components/PermissionModuleEdit.vue')
-rw-r--r--webapp/src/components/PermissionModuleEdit.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/webapp/src/components/PermissionModuleEdit.vue b/webapp/src/components/PermissionModuleEdit.vue
index 59b4faf..13a4b17 100644
--- a/webapp/src/components/PermissionModuleEdit.vue
+++ b/webapp/src/components/PermissionModuleEdit.vue
@@ -135,6 +135,7 @@
:label="$t('recursiveMode')"
:input-value="recursiveSwitch"
@change="recursiveSwitch = $event"
+ color="primary"
></v-switch>
</v-flex>
<component-search-table v-model="groupsSelected" :headers="groupHeaders" :items="groups" select-all>
@@ -287,7 +288,7 @@ export default {
}
},
loadRole (roleId) {
- this.$http('/api/permissions/getRoleById?id=' + this.roleId).then(response => {
+ this.$http('/api/permissions/getRoleById/' + this.roleId).then(response => {
this.roleName = response.data.name
this.roleDescr = response.data.descr
this.permissionsSelected = response.data.permissions