From bce779232cffadaeb3641c9a200e61089295ce1e Mon Sep 17 00:00:00 2001 From: zhang xiaoxu <1172208932@qq.com> Date: Tue, 14 Feb 2023 15:33:34 +0800 Subject: [PATCH] fix: modify default move project(#151) --- apps/frontend/src/composable/useTaskRightContextMenu.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/frontend/src/composable/useTaskRightContextMenu.ts b/apps/frontend/src/composable/useTaskRightContextMenu.ts index 65db550..8b53425 100644 --- a/apps/frontend/src/composable/useTaskRightContextMenu.ts +++ b/apps/frontend/src/composable/useTaskRightContextMenu.ts @@ -67,7 +67,7 @@ export function useTaskRightContextMenu() { function getMoveListProjects() { return taskStore.listProjects.map((projectItem) => { const isCurrentProject - = taskStore.currentActiveTask?.project!.id === projectItem.id + = taskStore.currentActiveProject.id === projectItem.id return { label: isCurrentProject ? h(