Sorting scene edit page tags alphanumerically, preventing double tags.

This commit is contained in:
2024-10-12 22:35:58 +02:00
parent 211f600242
commit fdce7b0232
2 changed files with 12 additions and 1 deletions

View File

@@ -237,7 +237,7 @@ const fields = computed(() => [
{
key: 'tags',
type: 'tags',
value: scene.value.tags,
value: scene.value.tags.toSorted((tagA, tagB) => tagA.name.localeCompare(tagB.name)),
},
{
key: 'movies',