From 248d665db459b26893d5e23616052cd6b9004e3b Mon Sep 17 00:00:00 2001 From: Stavros kois Date: Wed, 6 Dec 2023 18:48:13 +0200 Subject: [PATCH] check better --- library/common/templates/lib/ingress/integrations/_homepage.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/common/templates/lib/ingress/integrations/_homepage.tpl b/library/common/templates/lib/ingress/integrations/_homepage.tpl index 642afd0a..09264d01 100644 --- a/library/common/templates/lib/ingress/integrations/_homepage.tpl +++ b/library/common/templates/lib/ingress/integrations/_homepage.tpl @@ -4,7 +4,7 @@ {{- $homepage := $objectData.integrations.homepage -}} {{- if and $homepage $homepage.enabled -}} - {{- if not $homepage.widget -}} + {{- if not (hasKey $homepage.widget) -}} {{- $_ := set $objectData.integrations.homepage "widget" dict -}} {{- end -}}