ui: Sort tags without considering case
This commit is contained in:
parent
2b58e707ca
commit
f5f450f456
@ -27,7 +27,7 @@
|
||||
bind:value={filter}
|
||||
>
|
||||
<div>
|
||||
{#each Object.keys($tags).sort() as itag, index}
|
||||
{#each Object.keys($tags).sort(function (a, b) { return a.toLowerCase().localeCompare(b.toLowerCase()); }) as itag, index}
|
||||
{#if filter === "" || itag.toLowerCase().indexOf(filter.toLowerCase()) >= 0}
|
||||
<DropdownItem href="tags/{itag}">
|
||||
#{itag}
|
||||
|
Loading…
Reference in New Issue
Block a user