Skip to content

Commit

Permalink
fix(ui): add top app bar in failed esls page (#1792)
Browse files Browse the repository at this point in the history
Ref: SRX-KVKLG5
  • Loading branch information
AminSlk authored Jul 23, 2024
1 parent 3cb4798 commit 450c755
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,18 @@ export const EslWarningsPage: React.FC = () => {
case FailedEslsState.NOTFOUND:
return (
<div>
<TopAppBar showAppFilter={false} showTeamFilter={false} showWarningFilter={false} />
<main className="main-content esl-warnings-page">
<p>All events were processed successfully</p>
</main>
</div>
);
case FailedEslsState.READY:
return <EslWarnings failedEsls={failedEsls.response} />;
return (
<div>
<TopAppBar showAppFilter={false} showTeamFilter={false} showWarningFilter={false} />
<EslWarnings failedEsls={failedEsls.response} />;
</div>
);
}
};

0 comments on commit 450c755

Please sign in to comment.