fix template
All checks were successful
/ release (push) Successful in 28s

This commit is contained in:
speatzle 2024-10-08 12:49:32 +02:00
parent 29c7cdd0bf
commit 91e3504abe

View file

@ -2,7 +2,7 @@
<h2>Stats</h2>
<label for="library">Library:</label>
<select id="library" name="library" onchange="setLibrary(this.value)" class="short-button">
<option {{if eq .SelectedLibrary -1 }} selected {{end}}value="-1">ALL</option>
<option {{if eq .SelectedLibrary "-1" }} selected {{end}}value="-1">ALL</option>
{{range $l := .Libraries}}
<option {{if eq .SelectedLibrary $l.ID }} selected {{end}}value="{{$l.ID}}">{{$l.Name}}</option>
{{end}}