mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-02-07 15:19:15 +01:00
Sort stories in tree view (#1970)
This commit is contained in:
committed by
GitHub
parent
826ae70c0e
commit
4d7980124f
@@ -90,4 +90,7 @@ export const parameters = {
|
||||
{ name: "highcontrast", color: "#000" },
|
||||
],
|
||||
},
|
||||
options: {
|
||||
storySort: (a, b) => (a[1].kind === b[1].kind ? 0 : a[1].id.localeCompare(b[1].id, undefined, { numeric: true })),
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user