forked from noxious/client
Notification modal fix
This commit is contained in:
parent
9ff5fa3a84
commit
f6ed14772b
@ -1,7 +1,10 @@
|
||||
<template>
|
||||
<div class="notifications">
|
||||
<Modal v-for="notification in notifications.getNotifications" :key="notification.id" :isModalOpen="true" @modal:close="closeNotification(notification.id)">
|
||||
<template #modal-body>
|
||||
<template #modalHeader v-if="notification.title">
|
||||
<h3 class="modal-title">{{ notification.title }}</h3>
|
||||
</template>
|
||||
<template #modalBody v-if="notification.message">
|
||||
<p>{{ notification.message }}</p>
|
||||
</template>
|
||||
</Modal>
|
||||
|
Loading…
x
Reference in New Issue
Block a user