diff options
author | Dan Timoney <dtimoney@att.com> | 2019-05-29 18:05:10 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-05-29 18:05:10 +0000 |
commit | b86fe0e27bc66ecae386007c1d751f82cbf920cd (patch) | |
tree | 353abe10e7bed944b904d9c6dfd26ae305a1d469 /cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template | |
parent | 7f44056b720529928c165a9fb11e5ec7a32b404f (diff) | |
parent | b0bda9b6310a84ce00a747926c78b04b66eac8ae (diff) |
Merge "CCSDK-1308- Files sorting"
Diffstat (limited to 'cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template')
-rw-r--r-- | cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-template.component.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-template.component.ts b/cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-template.component.ts index c232414e0..92003c919 100644 --- a/cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-template.component.ts +++ b/cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-template.component.ts @@ -29,6 +29,7 @@ import { IBlueprintState } from '../../../../common/core/store/models/blueprintS import { IAppState } from '../../../../common/core/store/state/app.state'; import { LoadBlueprintSuccess, SET_BLUEPRINT_STATE, SetBlueprintState } from '../../../../common/core/store/actions/blueprint.action'; import { json } from 'd3'; +import { SortPipe } from '../../../../common/shared/pipes/sort.pipe'; @Component({ selector: 'app-search-template', @@ -116,6 +117,7 @@ export class SearchTemplateComponent implements OnInit { if(this.validfile) { this.fetchTOSACAMetadata(); + this.paths = new SortPipe().transform(this.paths, 'asc', 'name'); this.tree = this.arrangeTreeData(this.paths); } else { alert('Please update proper file with TOSCA metadata'); |