fix typing
This commit is contained in:
parent
ae275aeabb
commit
46939d4b64
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue