2
0

feat: ️ Display "Log not found"

This commit is contained in:
Baptiste Arnaud
2022-03-01 19:08:29 +01:00
parent f12491419d
commit 8029775660

View File

@ -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 />