summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSunder Tattavarada <statta@research.att.com>2020-04-06 19:15:08 +0000
committerGerrit Code Review <gerrit@onap.org>2020-04-06 19:15:08 +0000
commit9c963ec9b87693d80c0a0b6d2f8b94a1196d13e6 (patch)
tree7f2766918e2371c77eb2750618447befdb127d2d
parent2e8ba0751b32a08f33a7079afb335e4079ce7ba3 (diff)
parent05f52f4488ac441f31b2857134542f9864595168 (diff)
Merge "Assign default user sort type issue is fixed" into release-3.2.0
-rw-r--r--portal-FE-common/src/app/pages/dashboard-application-catalog/dashboard-application-catalog.component.ts13
1 files changed, 6 insertions, 7 deletions
diff --git a/portal-FE-common/src/app/pages/dashboard-application-catalog/dashboard-application-catalog.component.ts b/portal-FE-common/src/app/pages/dashboard-application-catalog/dashboard-application-catalog.component.ts
index ce373392..be4c09e2 100644
--- a/portal-FE-common/src/app/pages/dashboard-application-catalog/dashboard-application-catalog.component.ts
+++ b/portal-FE-common/src/app/pages/dashboard-application-catalog/dashboard-application-catalog.component.ts
@@ -119,16 +119,15 @@ export class DashboardApplicationCatalogComponent implements OnInit {
} else {
resJson.index = 3;
- }
-
-
+ }
+ this.selectedSortType = this.sortOptions[resJson.index];
+ //console.log(this.selectedSortType);
+ this.getAppCatalogService(data);
}
else {
- resJson.index = 0;
+ this.sortTypeChanged('N');
}
- this.selectedSortType = this.sortOptions[resJson.index];
- //console.log(this.selectedSortType);
- this.getAppCatalogService(data);
+
}, error => {
console.log('getUserAppsSortTypePreference Error Object' + error.message);