fix(ui): fix multiview scroll and search filters

This commit is contained in:
nick-delirium 2023-03-29 10:17:51 +02:00
parent b10c653828
commit fd5b4cf974
2 changed files with 3 additions and 1 deletions

View file

@ -109,6 +109,7 @@ function AssistSessionsModal(props: Props) {
<LiveSessionSearch />
<div className="my-4" />
<Loader loading={loading}>
<div className={'overflow-y-scroll'} style={{ maxHeight: '85vh'}}>
{list.map((session) => (
<React.Fragment key={session.sessionId}>
<div
@ -139,6 +140,7 @@ function AssistSessionsModal(props: Props) {
</div>
</React.Fragment>
))}
</div>
</Loader>
{total > PER_PAGE && (

View file

@ -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 }
/>