Skip to content

Commit

Permalink
sorting case-sensitive fix (#3748)
Browse files Browse the repository at this point in the history
  • Loading branch information
asylves1 authored May 31, 2024
1 parent 806d137 commit d43bb10
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ watch(
homeItem,
explorerItem,
...removedUpdatedProject,
...sortBy(items, 'label')
...sortBy(items, (item) => item.label?.toString().toLowerCase())
];
},
{ immediate: true }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,10 @@ const projectOptions = computed(() => {
return [
{
label: 'Add to which project?',
items: [...lastUpdatedProjectItem, ...sortBy(items, 'label')]
items: [
...lastUpdatedProjectItem,
...sortBy(items, (item) => item.label?.toString().toLowerCase())
]
}
];
});
Expand Down

0 comments on commit d43bb10

Please sign in to comment.