Skip to content
Snippets Groups Projects
Unverified Commit adabe632 authored by Łukasz Łopatowski's avatar Łukasz Łopatowski Committed by GitHub
Browse files

Merge pull request #37 from...

Merge pull request #37 from nmaas-platform/revert-36-35-on-application-deployment-modal-version-selector-include-only-active-versions

Revert "Small fix in aplication deploy"
parents 09206ca7 8945ce96
No related branches found
No related tags found
No related merge requests found
...@@ -42,7 +42,6 @@ export class AppInstallModalComponent implements OnInit { ...@@ -42,7 +42,6 @@ export class AppInstallModalComponent implements OnInit {
} }
ngOnInit() { 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.sort((a, b) => a.version.localeCompare(b.version, undefined, {numeric: true}));
this.app.versions.reverse(); this.app.versions.reverse();
this.selectedAppVersion = this.app.versions[0].appVersionId; 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