mirror of
https://github.com/gethomepage/homepage.git
synced 2026-02-06 11:21:58 +00:00
Chore: better guard against empty data in komodo widget
This commit is contained in:
parent
455e86571a
commit
6faf32eae9
@ -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 ? (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user