Skip to content
Snippets Groups Projects
Commit 3a287e54 authored by kbeyro's avatar kbeyro
Browse files

Small fix in aplication deploy

parent 039b4ba9
No related branches found
No related tags found
No related merge requests found
......@@ -42,6 +42,7 @@ export class AppInstallModalComponent implements OnInit {
}
ngOnInit() {
this.app.versions = this.app.versions.filter(version => version.state === ApplicationState.ACTIVE)
this.app.versions.sort((a, b) => a.version.localeCompare(b.version, undefined, {numeric: true}));
this.app.versions.reverse();
this.selectedAppVersion = this.app.versions[0].appVersionId;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment