Skip to content

Commit

Permalink
feat: ♿️ Display "Log not found"
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed Mar 1, 2022
1 parent f124914 commit 8029775
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/builder/layouts/results/LogsModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ export const LogsModal = ({
<LogCard key={idx} log={log} />
))}
{isLoading && <Spinner />}
{!isLoading && (logs ?? []).length === 0 && (
<Text>No logs found.</Text>
)}
</ModalBody>

<ModalFooter />
Expand Down

0 comments on commit 8029775

Please sign in to comment.