checking if there is a text or an error (#15579)

This commit is contained in:
Vincent Kempers
2022-09-15 05:36:57 +02:00
committed by GitHub
parent d68a8768fa
commit 42261e5fa4

View File

@@ -3,7 +3,7 @@
<v-dialog v-for="notification in notifications" :key="notification.id" :model-value="true" persist>
<v-card :class="[notification.type]">
<v-card-title>{{ notification.title }}</v-card-title>
<v-card-text v-if="notification.text">
<v-card-text v-if="notification.text || notification.error">
{{ notification.text }}
<v-error v-if="notification.error" :error="notification.error" />