Chore: better guard against empty data in komodo widget

This commit is contained in:
shamoon 2025-11-05 08:32:33 -08:00
parent 455e86571a
commit 6faf32eae9
No known key found for this signature in database

View File

@ -32,7 +32,7 @@ export default function Component({ service }) {
if (
(!widget.showStacks && !containersData) ||
(widget.showSummary && (!stacksData || !serversData)) ||
(widget.showSummary && (!containersData || !stacksData || !serversData)) ||
(widget.showStacks && !stacksData)
) {
return widget.showSummary ? (