add filter modal, implement search

This commit is contained in:
marlon-erler
2024-07-13 17:13:59 +02:00
parent 61ddb4e32c
commit af67144a6c
7 changed files with 237 additions and 40 deletions
+7 -1
View File
@@ -7,6 +7,7 @@ import { translation } from "../../translations";
export function AllObjectsView(
chat: Chat,
messageObjects: React.MapState<MessageObject>,
selectedObject: React.State<MessageObject | undefined>,
isShowingObjectModal: React.State<boolean>
) {
@@ -21,7 +22,12 @@ export function AllObjectsView(
{translation.objectsInTotal}{" "}
<span subscribe:innerText={objectCount}></span>
</b>
{ObjectGridView(chat, chat.objects, selectedObject, isShowingObjectModal)}
{ObjectGridView(
chat,
messageObjects,
selectedObject,
isShowingObjectModal
)}
</div>
);
}