fix: stabilize admin frontend and resolve TS build errors

This commit is contained in:
Bot
2026-05-01 13:55:01 +08:00
parent 9720bc258f
commit 2da8565e47
17 changed files with 43 additions and 36 deletions
+3 -3
View File
@@ -83,7 +83,7 @@ export default function NotificationPage() {
accessorFn: (row) => {
return (
notifierGroup
?.filter((ng) => ng.notifications?.includes(row.id))
?.filter((ng) => ng.notifications?.includes(row.id!))
.map((ng) => ng.group.id) || []
)
},
@@ -112,7 +112,7 @@ export default function NotificationPage() {
className="flex gap-2"
delete={{
fn: deleteNotification,
id: s.id,
id: s.id!,
mutate: mutate,
}}
>
@@ -143,7 +143,7 @@ export default function NotificationPage() {
className="flex ml-auto self-end sm:self-auto gap-2 flex-wrap shrink-0"
delete={{
fn: deleteNotification,
id: selectedRows.map((r) => r.original.id),
id: selectedRows.map((r) => r.original.id!),
mutate: mutate,
}}
>