tabs: fix tab selection by groupid #582

This commit is contained in:
Sören Weber 2023-06-29 12:15:16 +02:00
parent 914c2a9da4
commit fabcf681e9
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D

View file

@ -4,9 +4,6 @@
{{- $minor := int (index $version 1) }} {{- $minor := int (index $version 1) }}
{{- $color := (.Get "color") }} {{- $color := (.Get "color") }}
{{- $groupid := (.Get "groupid") }} {{- $groupid := (.Get "groupid") }}
{{- if or (and (eq $major 0) (ge $minor 108)) (gt $major 0) }}
{{- $groupid = $groupid | default "" }}
{{- end }}
{{- $icon := (.Get "icon") }} {{- $icon := (.Get "icon") }}
{{- $style := (.Get "style") }} {{- $style := (.Get "style") }}
{{- $title := (.Get "title") }} {{- $title := (.Get "title") }}