Skip to content

Commit

Permalink
features : Applications sorted by name (Update Navigation.tsx)
Browse files Browse the repository at this point in the history
Before : Applications were sorted by id (so by date of creation).
Now : Applications are sorted by name
  • Loading branch information
xavier-GitHub76 authored Nov 14, 2023
1 parent 0bfa5ca commit cafd28a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/layout/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class Navigation extends Component<
public render() {
const {classes, loggedIn, appStore, navOpen, setNavOpen} = this.props;
const {showRequestNotification} = this.state;
const apps = appStore.getItems();
const apps = appStore.getItems().slice().sort((a,b) => a.name.localeCompare(b.name));

const userApps =
apps.length === 0
Expand Down

0 comments on commit cafd28a

Please sign in to comment.