fix vue key preventing last noti being removed

This commit is contained in:
David Tsay 2023-09-20 10:23:35 -07:00
parent 1854ca4b6f
commit 753b2b2f4c

View File

@ -29,8 +29,8 @@
</div>
<div role="list" class="w-messages c-overlay__messages">
<notification-message
v-for="(notification, notificationIndex) in notifications"
:key="notificationIndex"
v-for="notification in notifications"
:key="notification.model.timestamp"
:notification="notification"
@dismissed="notificationDismissed"
/>