fix selection bug in list mode

This commit is contained in:
Özgür Kesim 2024-01-07 19:50:32 +01:00
parent 173aa7dda4
commit dc372d272f

View File

@ -92,7 +92,7 @@ pre {
{{ if $hasentries }}<h4 class="version">{{ $tar }} <span class="small">({{$version.Timestamp.Format "02 Jan 06"}})</span></h4> {{ end }} {{ if $hasentries }}<h4 class="version">{{ $tar }} <span class="small">({{$version.Timestamp.Format "02 Jan 06"}})</span></h4> {{ end }}
{{ if $hasfeatures }} {{ if $hasfeatures }}
<h5 class="features">Features</h5> <h5 class="features">Features</h5>
{{- range $sorter.Sort ($features.ByCategory $cat) }} {{- range $sorter.Sort ($features.ByCategoryAndTarget $cat $tar) }}
<details> <details>
<summary> <summary>
{{ if .IsHandled }}<span title="assigned to {{.Handler.Name}}">🥷</span>{{else}}<span title="unassigned">❓</span>{{end}} {{ if .IsHandled }}<span title="assigned to {{.Handler.Name}}">🥷</span>{{else}}<span title="unassigned">❓</span>{{end}}
@ -105,7 +105,7 @@ pre {
{{ end }} {{ end }}
{{ if $hasissues }} {{ if $hasissues }}
<h5 class="issues">Issues</h5> <h5 class="issues">Issues</h5>
{{- range $sorter.Sort ($issues.ByCategory $cat) }} {{- range $sorter.Sort ($issues.ByCategoryAndTarget $cat $tar) }}
<details> <details>
<summary> <summary>
{{ if .IsHandled }}<span title="assigned to {{.Handler.Name}}">🥷</span>{{else}}<span title="unassigned">❓</span>{{end}} {{ if .IsHandled }}<span title="assigned to {{.Handler.Name}}">🥷</span>{{else}}<span title="unassigned">❓</span>{{end}}