Fix currency symbol being hardcoded to $

This commit is contained in:
Svilen Markov committed 2024-04-29 22:32:46 +01:00
1 parent 189b8895b0
commit d5d6103327
3 files changed
+38 -4

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@
<div class="stock-values shrink-0">
<div class="size-h3 text-right {{ if eq .PercentChange 0.0 }}{{ else if gt .PercentChange 0.0 }}color-positive{{ else }}color-negative{{ end }}">{{ printf "%+.2f" .PercentChange }}%</div>
<div class="text-right">${{ .Price | formatPrice }}</div>
<div class="text-right">{{ .Currency }}{{ .Price | formatPrice }}</div>
</div>
</li>
{{ end }}