This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
<template>
|
||||
<v-snackbar dismissable :value="isVisible" :color="currentNotification.type">
|
||||
<v-alert :type="currentNotification.type" transition="scale-transition">
|
||||
<!-- <v-scale-transition> -->
|
||||
<v-snackbar :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()">
|
||||
{{ this.$root.$gz.locale.get("More") }}
|
||||
</v-btn>
|
||||
</v-snackbar>
|
||||
<!-- </v-scale-transition> -->
|
||||
</template>
|
||||
|
||||
<script>
|
||||
@@ -54,6 +56,13 @@ export default {
|
||||
//If don't use nextTick then don't get all visible when multiple in sequence
|
||||
this.$nextTick(() => {
|
||||
this.isVisible = true;
|
||||
// eslint-disable-next-line no-console
|
||||
console.log(
|
||||
this.currentNotification.timeout +
|
||||
" (" +
|
||||
this.currentNotification.message +
|
||||
")"
|
||||
);
|
||||
});
|
||||
|
||||
//Show it for the designated time before moving on to the next
|
||||
|
||||
Reference in New Issue
Block a user