MLE: Add loading logs text
This commit is contained in:
parent
6a3a7a5087
commit
71892c760d
1 changed files with 17 additions and 0 deletions
|
|
@ -171,6 +171,10 @@ export function LogsModal({ modalProps, initalQuery }: Props) {
|
|||
/>
|
||||
)}
|
||||
|
||||
{pending && (
|
||||
<LoadingLogs />
|
||||
)}
|
||||
|
||||
{!pending && messages != null && (
|
||||
<LogsContentMemo
|
||||
visibleMessages={messages}
|
||||
|
|
@ -286,6 +290,19 @@ function EmptyLogs({ hasQuery, reset: forceUpdate }: { hasQuery: boolean; reset:
|
|||
</Flex>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
function LoadingLogs() {
|
||||
return (
|
||||
<div className={cl("modal-empty-logs", "modal-content-inner")} style={{ textAlign: "center" }}>
|
||||
<Flex flexDirection="column" style={{ position: "relative" }}>
|
||||
|
||||
<BaseText size="lg">
|
||||
Loading Logs...
|
||||
</BaseText>
|
||||
</Flex>
|
||||
</div>
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue