From 46939d4b642ecf9e1e2acf2db5d7a4fc659964a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Gr=C3=B6ger?= Date: Mon, 1 May 2023 22:47:37 +0200 Subject: [PATCH] fix typing --- src/pages/EventRequests.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/EventRequests.vue b/src/pages/EventRequests.vue index cfc41d2..cb7a854 100644 --- a/src/pages/EventRequests.vue +++ b/src/pages/EventRequests.vue @@ -252,7 +252,7 @@ export default defineComponent({ getCellValue: () => [], }); const notification = all_notifications.value.find( - (n) => n.data.invitation === row.id + (n) => (n.data).invitation === row.id ); if (notification !== undefined) { void mainStore.removeNotification(notification.id); @@ -271,7 +271,7 @@ export default defineComponent({ getCellValue: () => [], }); const notification = all_notifications.value.find( - (n) => n.data.invitation === row.id + (n) => (n.data).invitation === row.id ); if (notification !== undefined) { void mainStore.removeNotification(notification.id);