From 34c63a3c92139291a5637cd5c29c61909dcb3a92 Mon Sep 17 00:00:00 2001 From: Kerwin Bryant Date: Thu, 10 Apr 2025 08:48:37 +0000 Subject: [PATCH] fix --- modules/fileicon/material.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/fileicon/material.go b/modules/fileicon/material.go index 70e440245f..4df5391900 100644 --- a/modules/fileicon/material.go +++ b/modules/fileicon/material.go @@ -69,8 +69,12 @@ func (m *MaterialIconProvider) renderFileIconSVG(p *RenderedIconPool, name, svg, } svgID := "svg-mfi-" + name svgCommonAttrs := `class="svg git-entry-icon ` + extraClass + `" width="16" height="16" aria-hidden="true"` - if p != nil && p.IconSVGs[svgID] == "" { - p.IconSVGs[svgID] = template.HTML(``) }