Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mwangggg committed Feb 26, 2024
1 parent 01ab2b1 commit f516e29
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/app/Archives/AllTargetsArchivedRecordingsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ export const AllTargetsArchivedRecordingsTable: React.FC<AllTargetsArchivedRecor
{target.alias == target.connectUrl || !target.alias
? `${target.connectUrl}`
: `${target.alias} (${target.connectUrl})`}
</Td>
</Td>
<Td key={`target-table-row-${idx}_3`} dataLabel={tableColumns[1].title}>
<Badge key={`${idx}_count`}>{archiveCount}</Badge>
</Td>
Expand Down Expand Up @@ -392,16 +392,16 @@ export const AllTargetsArchivedRecordingsTable: React.FC<AllTargetsArchivedRecor
const authRetry = React.useCallback(() => {
context.target.setAuthRetry();
}, [context.target]);

const isError = React.useMemo(() => errorMessage != '', [errorMessage]);

if (isError) {
view = (
<>
<ErrorView
title={'Error retrieving archived recordings'}
title={'Error retrieving archived recordings in target view'}
message={errorMessage}
retry={isAuthFail(errorMessage) ? authRetry : undefined}
retry={isAuthFail(errorMessage) ? authRetry : undefined}
/>
</>
);
Expand Down
1 change: 0 additions & 1 deletion src/app/Shared/Services/Api.service.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ import {
EventProbe,
EventProbesResponse,
Recording,
AssetJwtResponse,
EventTemplate,
RuleResponse,
ArchivedRecording,
Expand Down

0 comments on commit f516e29

Please sign in to comment.