Skip to content

Commit 5d03217

Browse files
committed
Refactor useMenu.ts: update menu path and fix formatting
1 parent 71b431d commit 5d03217

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/composables/useMenu.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ type Menu = {
2222
}
2323

2424
function useMenu(identityStateStore, identityAffectationStore) {
25-
const menuParts = ref(['Données', 'Affectations', 'Etats','Activation'])
25+
const menuParts = ref(['Données', 'Listes', 'Affectations', 'Etats', 'Activation'])
2626
const menus = ref([
2727
{
2828
icon: 'mdi-account',
2929
label: 'Liste des identités',
30-
path: '/identities',
30+
path: '/identities?sort[metadata.lastUpdatedAt]=desc&skip=0',
3131
color: 'primary',
3232
part: 'Données',
3333
},
@@ -37,7 +37,7 @@ function useMenu(identityStateStore, identityAffectationStore) {
3737
path: '/identities/export',
3838
color: 'primary',
3939
part: 'Données'
40-
},{
40+
}, {
4141
icon: 'mdi-book-clock',
4242
label: 'Journal des jobs',
4343
path: '/jobs/table?filters[:state]=-1',

0 commit comments

Comments
 (0)