From 785c74fd7bfaea7ab80d03c9eed391f63676232b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Sat, 11 Nov 2023 01:47:54 +0000 Subject: [PATCH] Calendar: hide toast on unmount --- ui/src/components/Calendar.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ui/src/components/Calendar.vue b/ui/src/components/Calendar.vue index 02cf133..5f074bf 100644 --- a/ui/src/components/Calendar.vue +++ b/ui/src/components/Calendar.vue @@ -111,5 +111,9 @@ export default class extends Vue { this.multi_modal!.hide(); }); } + + public beforeUnmount(): void { + this.toast?.hide(); + } }