summaryrefslogtreecommitdiffstats
path: root/portal-FE-common/src/app/pages/dashboard-application-catalog
diff options
context:
space:
mode:
authorSunder Tattavarada <statta@research.att.com>2020-04-06 16:31:59 +0000
committerGerrit Code Review <gerrit@onap.org>2020-04-06 16:31:59 +0000
commit5e84a934dd7895af58af39d8352263ec8f19feeb (patch)
tree74d72071ad63fa55fbb3b338674ea7ac23d266ca /portal-FE-common/src/app/pages/dashboard-application-catalog
parent983c2d568a873060c046598daeebe481d043fb7a (diff)
parent02def0f28e693bc8a241f2b294a5dd9a8969a2b8 (diff)
Merge "Assign default user sort type issue is fixed"
Diffstat (limited to 'portal-FE-common/src/app/pages/dashboard-application-catalog')
-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);