diff --git a/src/Model/Chat/chatModel.ts b/src/Model/Chat/chatModel.ts index a489db3a..57f24391 100644 --- a/src/Model/Chat/chatModel.ts +++ b/src/Model/Chat/chatModel.ts @@ -1,9 +1,6 @@ // this file is responsible for managing chats. -import { - DATA_VERSION, - ValidObject, -} from "../Utility/typeSafety"; +import { DATA_VERSION, ValidObject } from "../Utility/typeSafety"; import FileModel, { FileContent } from "../Files/fileModel"; import { HandlerManager, diff --git a/src/ViewModel/Pages/taskPageViewModel.ts b/src/ViewModel/Pages/taskPageViewModel.ts index 12a46d9e..8f4cd543 100644 --- a/src/ViewModel/Pages/taskPageViewModel.ts +++ b/src/ViewModel/Pages/taskPageViewModel.ts @@ -58,7 +58,8 @@ export default class TaskPageViewModel { false ) return; - this.showBoardInList(fileContent as BoardInfoFileContent); + const boardInfo: BoardInfoFileContent = fileContent as BoardInfoFileContent; + this.showBoardInList(boardInfo); }; // methods