From dc6663d1219812ff202562061e8c6059ceea49eb Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Tue, 27 May 2025 18:44:24 +0200 Subject: [PATCH] fix(template): we do not always have .Name (#5508) Signed-off-by: Ettore Di Giacinto --- core/http/views/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/http/views/index.html b/core/http/views/index.html index 4ae17fdc..a6ab0d8f 100644 --- a/core/http/views/index.html +++ b/core/http/views/index.html @@ -54,7 +54,7 @@ {{ range .Models }}
-

{{.Name}}

+

{{if .Name}}{{.Name}}{{else}}{{.}}{{end}}

{{end}}