diff --git a/ui/src/components/admin/DoorMapEditor.vue b/ui/src/components/admin/DoorMapEditor.vue index f1f21ce..73e678a 100644 --- a/ui/src/components/admin/DoorMapEditor.vue +++ b/ui/src/components/admin/DoorMapEditor.vue @@ -150,7 +150,13 @@ export default class extends Vue { this.loading_doors = true; this.load_doors() - .then(() => toast({ message: "Erfolgreich!", type: "is-success" })) + .then(() => + toast({ + message: "Erfolgreich!", + type: "is-success", + duration: 2e3, + }), + ) .catch(() => {}) .finally(() => (this.loading_doors = false)); } @@ -170,7 +176,13 @@ export default class extends Vue { this.save_doors() .then(() => { this.load_doors() - .then(() => toast({ message: "Erfolgreich!", type: "is-success" })) + .then(() => + toast({ + message: "Erfolgreich!", + type: "is-success", + duration: 2e3, + }), + ) .catch(() => {}) .finally(() => (this.saving_doors = false)); })