summaryrefslogtreecommitdiffstats
path: root/webapp
diff options
context:
space:
mode:
Diffstat (limited to 'webapp')
-rw-r--r--webapp/src/components/PermissionModuleEdit.vue2
-rw-r--r--webapp/src/components/PermissionModuleGrantRevoke.vue4
2 files changed, 3 insertions, 3 deletions
diff --git a/webapp/src/components/PermissionModuleEdit.vue b/webapp/src/components/PermissionModuleEdit.vue
index 70c61f4..c026f54 100644
--- a/webapp/src/components/PermissionModuleEdit.vue
+++ b/webapp/src/components/PermissionModuleEdit.vue
@@ -272,7 +272,7 @@ export default {
groups: filteredGroups,
blacklist: filteredBlacklist
}).then(response => {
- this.$snackbar({ color: 'success', text: this.$t('roleSavedSuccess'), timeout: 15000 })
+ this.$snackbar({ color: 'success', text: this.$t('roleSavedSuccess') })
this.$store.dispatch('permissions/loadRoleData')
this.$store.commit('permissions/setEdit', false)
}).catch(error => {
diff --git a/webapp/src/components/PermissionModuleGrantRevoke.vue b/webapp/src/components/PermissionModuleGrantRevoke.vue
index 81afece..a137ea1 100644
--- a/webapp/src/components/PermissionModuleGrantRevoke.vue
+++ b/webapp/src/components/PermissionModuleGrantRevoke.vue
@@ -147,9 +147,9 @@ export default {
await this.$http.post('/api/users/' + this.selectedUsers[i].id + '/roles' + (this.grant ? '' : '/?delete'), { ids: roleIds })
}
if (this.grant) {
- this.$snackbar({ color: 'success', text: this.$t('roleGrantedSuccess'), timeout: 15000 })
+ this.$snackbar({ color: 'success', text: this.$t('roleGrantedSuccess') })
} else {
- this.$snackbar({ color: 'success', text: this.$t('roleRevokedSuccess'), timeout: 15000 })
+ this.$snackbar({ color: 'success', text: this.$t('roleRevokedSuccess') })
}
this.$store.dispatch('permissions/loadUserData')
this.$store.commit('permissions/setGrantRevoke', false)