fix(widget): error msg

This commit is contained in:
George Cushen committed 2021-04-16 19:38:34 +01:00
1 parent ab8d28988e
commit 1e2347192a
1 file changed
+1 -1
@@ -31,7 +31,7 @@
{{- if .company_logo}}
{{- $svg_icon := resources.Get (printf "media/icons/brands/%s.svg" .company_logo) -}}
{{ if not $svg_icon }}{{ errorf "Brand logo not found at `media/icons/brands/%s.svg`" .company_logo }}{{end}}
{{ if not $svg_icon }}{{ errorf "Brand logo not found at `assets/media/icons/brands/%s.svg`" .company_logo }}{{end}}
<div class="d-flex align-content-start">
<div class="mr-2 mb-2">
{{- with .company_url}}<a href="{{.}}" target="_blank" rel="noopener">{{end -}}