mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-06 17:15:34 -08:00
Chore: better guard against empty data in komodo widget
This commit is contained in:
@@ -32,7 +32,7 @@ export default function Component({ service }) {
|
|||||||
|
|
||||||
if (
|
if (
|
||||||
(!widget.showStacks && !containersData) ||
|
(!widget.showStacks && !containersData) ||
|
||||||
(widget.showSummary && (!stacksData || !serversData)) ||
|
(widget.showSummary && (!containersData || !stacksData || !serversData)) ||
|
||||||
(widget.showStacks && !stacksData)
|
(widget.showStacks && !stacksData)
|
||||||
) {
|
) {
|
||||||
return widget.showSummary ? (
|
return widget.showSummary ? (
|
||||||
|
|||||||
Reference in New Issue
Block a user