Skip to content

Commit 0ca289d

Browse files
committed
Fix expand update
1 parent e5a01a2 commit 0ca289d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/modules/tasks/TaskStore.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,10 @@ export default class TaskStore {
172172

173173
if (Array.isArray(this.tasks[projectId])) {
174174
this.checkTasksRecursive(this.tasks[projectId], taskIds, markExpanded);
175+
176+
this.tasks[projectId] = this.tasks[projectId].slice();
177+
this.tasksService.save(this.tasks);
175178
}
176-
this.tasksService.save(this.tasks);
177179
}
178180

179181
private getTaskKeysByCondition(

0 commit comments

Comments
 (0)