You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by an...@apache.org on 2019/11/21 11:08:06 UTC

[incubator-dlab] branch develop updated: [DLAB-851] Sorted instance shapes in ascending order of size in the dropdown list.

This is an automated email from the ASF dual-hosted git repository.

ankovalyshyn pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/develop by this push:
     new d99c604  [DLAB-851] Sorted instance shapes in ascending order of size in the dropdown list.
     new b3ca464  Merge pull request #433 from DG1202/DLAB851
d99c604 is described below

commit d99c604371c71144f1cd7f57a2a2b475ab2fe085
Author: Dmytro Gnatyshyn <di...@ukr.net>
AuthorDate: Wed Nov 20 16:18:07 2019 +0200

    [DLAB-851] Sorted instance shapes in ascending order of size in the dropdown list.
---
 .../computational-resource-create-dialog.component.ts                    | 1 +
 1 file changed, 1 insertion(+)

diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resource-create-dialog/computational-resource-create-dialog.component.ts b/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resource-create-dialog/computational-resource-create-dialog.component.ts
index 24b9baf..4a1f0b0 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resource-create-dialog/computational-resource-create-dialog.component.ts
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resource-create-dialog/computational-resource-create-dialog.component.ts
@@ -243,6 +243,7 @@ export class ComputationalResourceCreateDialogComponent implements OnInit {
           this._ref.detectChanges();
 
           this.filterShapes();
+          this.selectedImage.computation_resources_shapes = SortUtils.shapesSort(this.selectedImage.computation_resources_shapes);
           this.resourceForm.get('template_name').setValue(this.selectedImage.template_name);
           this.getComputationalResourceLimits();
         }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org