implemented task more

This commit is contained in:
rgrgogu
2026-07-17 17:27:59 +08:00
parent 2e9ab5786c
commit 5eefbe0dc9
10 changed files with 120 additions and 31 deletions
@@ -115,6 +115,9 @@ export function resolveNotificationLink(type, data) {
: null;
case "task":
if (data.groupId && data.taskListId && data.taskId) {
return { label: "View task", go: (navigate) => navigate(`/group/${data.groupId}/view/${data.taskListId}/task/${data.taskId}`) };
}
return (data.groupId && data.taskListId)
? { label: "View task list", go: (navigate) => navigate(`/group/${data.groupId}/view/${data.taskListId}`) }
: null;