From 403ab0a04f7a6e619fe3f94fd3ecea865c4b24c5 Mon Sep 17 00:00:00 2001 From: Gauthier Roebroeck Date: Mon, 5 Jul 2021 10:14:12 +0800 Subject: [PATCH] fix(webui): close notification when clicking on primary action --- komga-webui/src/components/Toaster.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/komga-webui/src/components/Toaster.vue b/komga-webui/src/components/Toaster.vue index c8177f294..0c4a645de 100644 --- a/komga-webui/src/components/Toaster.vue +++ b/komga-webui/src/components/Toaster.vue @@ -15,7 +15,7 @@ color="secondary" text v-bind="attrs" - @click="snackbar.goTo.click" + @click="snackbar.goTo.click(); close()" > {{ snackbar.goTo.text }} @@ -24,7 +24,8 @@ text v-bind="attrs" @click="close" - >{{ $t('common.dismiss') }} + >{{ $t('common.dismiss') }} +