diff --git a/plugins/notification-resources/src/components/DocNotifyContextCard.svelte b/plugins/notification-resources/src/components/DocNotifyContextCard.svelte index e26508418e..686e168fcf 100644 --- a/plugins/notification-resources/src/components/DocNotifyContextCard.svelte +++ b/plugins/notification-resources/src/components/DocNotifyContextCard.svelte @@ -13,7 +13,7 @@ // limitations under the License. --> - - {#each notifications as notification (notification._id)} -
-
- - - - - - - - - - { - dispatch('click', { - context: $notifyContextsStore.find(({ _id }) => _id === notification.docNotifyContext), - notification - }) - }} - /> -
-
- {/each} -
+ + +
+ + + {@const notification = notifications[itemIndex]} + {#key notification._id} +
+ + + + + + + + + + { + dispatch('click', { + context: $notifyContextsStore.find(({ _id }) => _id === notification.docNotifyContext), + notification + }) + }} + /> +
+ {/key} +
+
+