make filterObjectsByStringEntries and checkDoesObjectMatchReference work with FileContent
This commit is contained in:
@@ -5,11 +5,11 @@ import {
|
|||||||
checkMatchesObjectStructure,
|
checkMatchesObjectStructure,
|
||||||
} from "../Utility/typeSafety";
|
} from "../Utility/typeSafety";
|
||||||
import FileModel, { FileContent, FileModelSubPath } from "./fileModel";
|
import FileModel, { FileContent, FileModelSubPath } from "./fileModel";
|
||||||
|
import { HandlerManager, StringEntryObject } from "../Utility/utility";
|
||||||
import { v4, version } from "uuid";
|
import { v4, version } from "uuid";
|
||||||
|
|
||||||
import ChatModel from "../Chat/chatModel";
|
import ChatModel from "../Chat/chatModel";
|
||||||
import { Color } from "../../colors";
|
import { Color } from "../../colors";
|
||||||
import { HandlerManager } from "../Utility/utility";
|
|
||||||
import StorageModel from "../Global/storageModel";
|
import StorageModel from "../Global/storageModel";
|
||||||
|
|
||||||
export default class BoardsAndTasksModel {
|
export default class BoardsAndTasksModel {
|
||||||
|
|||||||
@@ -1,7 +1,14 @@
|
|||||||
import * as React from "bloatless-react";
|
import * as React from "bloatless-react";
|
||||||
|
|
||||||
import BoardViewModel from "../../ViewModel/Pages/boardViewModel";
|
import BoardViewModel from "../../ViewModel/Pages/boardViewModel";
|
||||||
|
import { PropertyValueList } from "../Components/propertyList";
|
||||||
|
import TaskViewModel from "../../ViewModel/Pages/taskViewModel";
|
||||||
|
|
||||||
export function BoardKanbanPage(boardViewModel: BoardViewModel) {
|
export function BoardKanbanPage(boardViewModel: BoardViewModel) {
|
||||||
return <div>Kanban</div>;
|
return PropertyValueList(
|
||||||
|
"category",
|
||||||
|
(taskViewModel: TaskViewModel) => taskViewModel.task,
|
||||||
|
boardViewModel.taskViewModels,
|
||||||
|
() => <div></div>
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user