mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-20 21:23:08 +03:00
fix(Menu): order by category then name
This commit is contained in:
1 parent
ce8fcdfa04
commit
1a0ab177db
1 file changed
+1
@@ -24,6 +24,7 @@ export const useToolStore = defineStore('tools', () => {
|
||||
|
||||
const toolsByCategory = computed<ToolCategory[]>(() => {
|
||||
return _.chain(tools.value)
|
||||
.orderBy(['category', 'name'], 'asc')
|
||||
.groupBy('category')
|
||||
.map((components, name, path) => ({
|
||||
name,
|
||||
|
||||
Reference in new issue
Block a user