This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user