fix typing

This commit is contained in:
Tim Gröger 2023-05-01 22:47:37 +02:00
parent ae275aeabb
commit 46939d4b64
1 changed files with 2 additions and 2 deletions

View File

@ -252,7 +252,7 @@ export default defineComponent({
getCellValue: () => [],
});
const notification = all_notifications.value.find(
(n) => n.data.invitation === row.id
(n) => (<InvitationData>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) => (<InvitationData>n.data).invitation === row.id
);
if (notification !== undefined) {
void mainStore.removeNotification(notification.id);