From fd5b4cf9743ff78882b8bcbdacd317a0505816c9 Mon Sep 17 00:00:00 2001 From: nick-delirium Date: Wed, 29 Mar 2023 10:17:51 +0200 Subject: [PATCH] fix(ui): fix multiview scroll and search filters --- .../Player/Controls/AssistSessionsModal/AssistSessionsModal.tsx | 2 ++ .../components/shared/SessionSearchField/SessionSearchField.tsx | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/app/components/Session_/Player/Controls/AssistSessionsModal/AssistSessionsModal.tsx b/frontend/app/components/Session_/Player/Controls/AssistSessionsModal/AssistSessionsModal.tsx index c1f192360..ce6770756 100644 --- a/frontend/app/components/Session_/Player/Controls/AssistSessionsModal/AssistSessionsModal.tsx +++ b/frontend/app/components/Session_/Player/Controls/AssistSessionsModal/AssistSessionsModal.tsx @@ -109,6 +109,7 @@ function AssistSessionsModal(props: Props) {
+
{list.map((session) => (
))} +
{total > PER_PAGE && ( diff --git a/frontend/app/components/shared/SessionSearchField/SessionSearchField.tsx b/frontend/app/components/shared/SessionSearchField/SessionSearchField.tsx index 4f3c3d121..0e6529e18 100644 --- a/frontend/app/components/shared/SessionSearchField/SessionSearchField.tsx +++ b/frontend/app/components/shared/SessionSearchField/SessionSearchField.tsx @@ -48,7 +48,7 @@ function SessionSearchField(props: Props) { searchQuery={searchQuery} isMainSearch={true} onFilterClick={onAddFilter} - isLive={isRoute(ASSIST_ROUTE, window.location.pathname)} + isLive={isRoute(ASSIST_ROUTE, window.location.pathname) || window.location.pathname.includes('multiview')} // filters={isRoute(ASSIST_ROUTE, window.location.pathname) ? props.filterListLive : props.filterList } // filterSearchList={isRoute(ASSIST_ROUTE, window.location.pathname) ? props.filterSearchListLive : props.filterSearchList } />