diff --git a/frontend/src/components/tasks/partials/Labels.vue b/frontend/src/components/tasks/partials/Labels.vue index 31b6f3de8..82d25e05b 100644 --- a/frontend/src/components/tasks/partials/Labels.vue +++ b/frontend/src/components/tasks/partials/Labels.vue @@ -18,7 +18,10 @@ const props = defineProps<{ labels: ILabel[], }>() -const displayLabels = computed(() => Array.from(new Map(props.labels.map(label => [label.id, label])).values())) +const displayLabels = computed(() => + Array.from(new Map(props.labels.map(label => [label.id, label])).values()) + .sort((a, b) => a.title.localeCompare(b.title)), +)