Skip to content

Commit

Permalink
[MainUI] rule list: sort chip tags
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry P. (d51x) <dimonich110@gmail.com>
  • Loading branch information
d51x authored and florian-h05 committed Nov 19, 2023
1 parent f18b469 commit 86e48ac
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,7 @@
</f7-button>
</f7-segmented>
</div>
<div v-if="uniqueTags.length" class="block-title">
Tags:
</div>

<div v-if="uniqueTags.length" class="block block-strong-ios block-outline-ios" ref="filterTags">
<f7-chip v-for="tag in uniqueTags" :key="tag" :text="tag" media-bg-color="blue"
:color="isTagSelected(tag) ? 'blue' : ''"
Expand Down Expand Up @@ -287,6 +285,8 @@ export default {
})
})
this.uniqueTags.sort()
this.loading = false
this.ready = true
setTimeout(() => {
Expand Down

0 comments on commit 86e48ac

Please sign in to comment.