fix bug where boards were not listed
This commit is contained in:
@@ -47,6 +47,7 @@ export function CalendarPage(
|
||||
calendarPageViewModel.selectedDate,
|
||||
],
|
||||
() => {
|
||||
console.log(calendarPageViewModel.selectedDate.value);
|
||||
const listState = calendarPageViewModel.getEventsForDate();
|
||||
|
||||
if (listState == undefined) {
|
||||
|
||||
@@ -66,7 +66,6 @@ export class ViewController {
|
||||
};
|
||||
|
||||
static readonly setFocusWithDelay = () => {
|
||||
console.trace("focus");
|
||||
setTimeout(this.setFocus, 100);
|
||||
};
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ import ConnectionModel from "../../Model/Global/connectionModel";
|
||||
import ChatListModel from "../../Model/Chat/chatListModel";
|
||||
|
||||
export default class CoreViewModel {
|
||||
readonly BUILD = "Build 26.05.03.A";
|
||||
readonly BUILD = "Build 26.05.05.A";
|
||||
|
||||
translations: Translations;
|
||||
|
||||
|
||||
@@ -61,8 +61,6 @@ export default class BoardViewModel extends TaskContainingPageViewModel {
|
||||
);
|
||||
|
||||
this.taskPageViewModel.updateBoard(newBoardInfoFileContent);
|
||||
|
||||
this.taskPageViewModel.selectBoard(this);
|
||||
};
|
||||
|
||||
applyColor = (): void => {
|
||||
|
||||
@@ -66,7 +66,6 @@ export default class TaskPageViewModel extends ContextHost<string> {
|
||||
|
||||
updateBoard = (boardInfoFileContent: BoardInfoFileContent): void => {
|
||||
this.boardsAndTasksModel.updateBoardAndSend(boardInfoFileContent);
|
||||
this.updateBoardIndices();
|
||||
};
|
||||
|
||||
deleteBoard = (boardInfoFileContent: BoardInfoFileContent): void => {
|
||||
@@ -81,8 +80,6 @@ export default class TaskPageViewModel extends ContextHost<string> {
|
||||
};
|
||||
|
||||
showBoardInList = (boardInfo: BoardInfoFileContent): void => {
|
||||
if (this.boardViewModels.value.has(boardInfo.fileId)) return;
|
||||
|
||||
const boardViewModel: BoardViewModel = new BoardViewModel(
|
||||
this.coreViewModel,
|
||||
this.chatViewModel,
|
||||
|
||||
Reference in New Issue
Block a user