change(ui): offline-playback text change to recordings
This commit is contained in:
parent
923fee77fe
commit
771937cf5d
3 changed files with 4 additions and 4 deletions
|
|
@ -17,7 +17,7 @@ interface Props extends RouteComponentProps {
|
|||
function Assist(props: Props) {
|
||||
const { history, siteId, isEnterprise } = props;
|
||||
const isAssist = history.location.pathname.includes('assist');
|
||||
const isRecords = history.location.pathname.includes('offline-playback');
|
||||
const isRecords = history.location.pathname.includes('recordings');
|
||||
|
||||
const redirect = (path: string) => {
|
||||
history.push(withSiteId(path, siteId));
|
||||
|
|
@ -37,7 +37,7 @@ function Assist(props: Props) {
|
|||
<SideMenuitem
|
||||
active={isRecords}
|
||||
id="menu-rec"
|
||||
title="Offline Playback"
|
||||
title="Recordings"
|
||||
iconName="record-btn"
|
||||
onClick={() => redirect(recordings())}
|
||||
disabled={!isEnterprise}
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ function Recordings(props: Props) {
|
|||
<div style={{ maxWidth: '1300px', margin: 'auto' }} className='bg-white rounded py-4 border'>
|
||||
<div className='flex items-center mb-4 justify-between px-6'>
|
||||
<div className='flex items-baseline mr-3'>
|
||||
<PageTitle title='Offline Playback' />
|
||||
<PageTitle title='Recordings' />
|
||||
</div>
|
||||
<div className='ml-auto flex items-center gap-4'>
|
||||
<SelectDateRange period={recordingsStore.period} onChange={onDateChange} right={true} />
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ export const onboarding = (tab = routerOBTabString) => `/onboarding/${ tab }`;
|
|||
|
||||
export const sessions = params => queried('/sessions', params);
|
||||
export const assist = params => queried('/assist', params);
|
||||
export const recordings = params => queried("/offline-playback", params);
|
||||
export const recordings = params => queried("/recordings", params);
|
||||
export const multiviewIndex = params => queried('/multiview', params);
|
||||
export const multiview = (sessionsQuery = ':sessionsquery', hash) => hashed(`/multiview/${sessionsQuery}`, hash);
|
||||
export const session = (sessionId = ':sessionId', hash) => hashed(`/session/${ sessionId }`, hash);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue