consider board ids for selection

This commit is contained in:
marlon-erler
2024-07-23 13:51:27 +02:00
parent a06e4498b9
commit 52b9eef54c
5 changed files with 46 additions and 31 deletions
+3 -2
View File
@@ -69,8 +69,9 @@ export default class BoardViewModel {
this.loadListRelevantData();
this.isSelected = React.createProxyState(
[this.taskPageViewModel.selectedBoard],
() => this.taskPageViewModel.selectedBoard.value == this
[this.taskPageViewModel.selectedBoardId],
() =>
this.taskPageViewModel.selectedBoardId.value == this.boardInfo.fileId
);
this.color.subscribeSilent((newColor) => {