Merge pull request #1065 from openreplay/fix-multiview

fix(ui): fix multiview scroll and search filters
This commit is contained in:
Shekar Siri 2023-03-29 10:20:56 +02:00 committed by GitHub
commit bb262610b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 }
/>