add empty view for no logs

This commit is contained in:
Alex Holliday committed 2026-09-04 14:36:26 -07:00
1 parent e2362ca809
commit bd7b6038f5
2 files changed
+13

No files matched your search

@@ -179,6 +179,15 @@ export const TabLogs = ({ monitorId, containerName, enabled }: TabLogsProps) =>
);
}
if (lastUpdatedAt !== null && rows.length === 0) {
return (
<EmptyState
title={t("pages.docker.container.logs.empty.title")}
description={t("pages.docker.container.logs.empty.description")}
/>
);
}
return (
<Stack gap={LAYOUT.MD}>
<HeaderLogs