From cb0d31dee51aaba22b115552698c8bf85add2444 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Sat, 23 Dec 2023 22:52:07 +0100 Subject: [PATCH] Update library/common/templates/lib/ingress/integrations/_homepage.tpl --- 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 d96be3c1..f48cc78e 100644 --- a/library/common/templates/lib/ingress/integrations/_homepage.tpl +++ b/library/common/templates/lib/ingress/integrations/_homepage.tpl @@ -14,7 +14,7 @@ {{- $name := $homepage.name | default ($rootCtx.Chart.Name | camelcase) -}} {{- $desc := $homepage.description | default $rootCtx.Chart.Description -}} {{- $icon := $homepage.icon | default $rootCtx.Chart.Icon -}} - {{- $type := $homepage.widget.type | default ($rootCtx.Chart.Name | lower) -}} + {{- $type := ( $homepage.widget.type | default $rootCtx.Chart.Name ) | lower -}} {{- $type = regexReplaceAll "\\W+" $type "" -}} {{- $url := $homepage.widget.url -}} {{- $href := $homepage.href -}}