From 055312124c4b79b5d5fe3cabfeada70203ad89fd Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Tue, 27 May 2025 18:43:48 +0200 Subject: [PATCH] fix(template): we do not always have .Name 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}}