This commit is contained in:
2020-04-01 18:48:38 +00:00
parent bd7d43f462
commit 810e060fed
4 changed files with 25 additions and 9 deletions

View File

@@ -1,10 +1,19 @@
<template>
<!-- <v-scale-transition> -->
<v-snackbar :value="isVisible" :color="currentNotification.type">
<v-snackbar
data-cy="gznotify"
:value="isVisible"
:color="currentNotification.type"
>
<v-alert :type="currentNotification.type" mode="out-in">
{{ currentNotification.message }}
</v-alert>
<v-btn text v-if="currentNotification.helpUrl" @click="helpClick()">
<v-btn
data-cy="gznotify:morebutton"
text
v-if="currentNotification.helpUrl"
@click="helpClick()"
>
{{ this.$root.$gz.translation.get("More") }}
</v-btn>
</v-snackbar>