From 7a5513eabb73f7e064c2c01b7554cd6191589223 Mon Sep 17 00:00:00 2001 From: marlon-erler Date: Wed, 24 Jul 2024 01:33:17 +0200 Subject: [PATCH] cleanup --- src/Model/Chat/chatModel.ts | 5 +---- src/ViewModel/Pages/taskPageViewModel.ts | 3 ++- 2 files changed, 3 insertions(+), 5 deletions(-) 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