fix bug where received tasks would be shown on any board

This commit is contained in:
marlon-erler
2024-07-24 14:06:39 +02:00
parent cc5b57b0be
commit e93a041a77
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -1647,6 +1647,7 @@
});
boardModel.taskHandlerManager.addHandler(
(taskFileContent) => {
if (taskFileContent.boardId != this.boardInfo.fileId) return;
this.showTaskInList(taskFileContent);
}
);
+1
View File
@@ -209,6 +209,7 @@ export default class BoardViewModel {
// handlers
boardModel.taskHandlerManager.addHandler(
(taskFileContent: TaskFileContent) => {
if (taskFileContent.boardId != this.boardInfo.fileId) return;
this.showTaskInList(taskFileContent);
}
);