fix loading of boards when calendar page is opened

This commit is contained in:
marlon-erler
2026-04-14 11:33:15 +00:00
parent e0b3a85681
commit 634e898317
4 changed files with 11 additions and 10 deletions
+2 -3
View File
@@ -195,7 +195,7 @@ export default class BoardViewModel extends TaskContainingPageViewModel {
};
// load
loadListRelevantData = (): void => {
preloadData = (): void => {
this.name.value = this.boardInfo.name;
this.color.value = this.boardInfo.color;
};
@@ -255,10 +255,9 @@ export default class BoardViewModel extends TaskContainingPageViewModel {
public readonly boardInfo: BoardInfoFileContent,
) {
super(coreViewModel, chatViewModel, boardsAndTasksModel, "board");
console.log("NEW BOARD VM")
// load
this.loadListRelevantData();
this.preloadData();
// subscriptions
this.isSelected = React.createProxyState(