summaryrefslogtreecommitdiffstats
path: root/webapp/src/components/GroupModuleDialog.vue
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/src/components/GroupModuleDialog.vue')
-rw-r--r--webapp/src/components/GroupModuleDialog.vue8
1 files changed, 7 insertions, 1 deletions
diff --git a/webapp/src/components/GroupModuleDialog.vue b/webapp/src/components/GroupModuleDialog.vue
index 55053e6..7776aa0 100644
--- a/webapp/src/components/GroupModuleDialog.vue
+++ b/webapp/src/components/GroupModuleDialog.vue
@@ -275,7 +275,13 @@ export default {
callback: () => this.$snackbar({
color: 'success',
text: this.$tc('success.' + this.action + '.' + this.dialog.info.type, count, [count])
- })
+ }),
+ snackbar: (color, message) => {
+ this.$snackbar({
+ color: color,
+ text: message
+ })
+ }
}
if (this.action === 'add') data.selected = this.selected
if (this.action === 'delete') data.backends = this.backends