Skip to content

Commit

Permalink
fix(webui): close notification when clicking on primary action
Browse files Browse the repository at this point in the history
  • Loading branch information
gotson committed Jul 5, 2021
1 parent 1de8a94 commit 403ab0a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions komga-webui/src/components/Toaster.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
color="secondary"
text
v-bind="attrs"
@click="snackbar.goTo.click"
@click="snackbar.goTo.click(); close()"
>
{{ snackbar.goTo.text }}
</v-btn>
Expand All @@ -24,7 +24,8 @@
text
v-bind="attrs"
@click="close"
>{{ $t('common.dismiss') }}</v-btn>
>{{ $t('common.dismiss') }}
</v-btn>
</template>
</v-snackbar>
</template>
Expand Down

0 comments on commit 403ab0a

Please sign in to comment.