This commit is contained in:
2020-06-19 13:53:08 +00:00
parent d3bb3bfb8e
commit 527c84a81e
3 changed files with 16 additions and 3 deletions

View File

@@ -4,10 +4,12 @@
:data-cy="!!$ay.dev ? 'gznotify' : false"
:value="isVisible"
:color="currentNotification.type"
multi-line
>
<v-alert :type="currentNotification.type" mode="out-in">
{{ currentNotification.message }}
</v-alert>
<v-btn
:data-cy="!!$ay.dev ? 'gznotify:morebutton' : false"
text
@@ -41,6 +43,7 @@ export default {
if (!options.message) {
return;
}
if (!options.type) {
options.type = DEFAULT_NOTIFY_OPTIONS.type;
}