summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjz385p <jegadeesh.babu@att.com>2020-04-06 15:31:10 +0530
committerSunder Tattavarada <statta@research.att.com>2020-04-06 16:32:12 +0000
commit05f52f4488ac441f31b2857134542f9864595168 (patch)
treed243ab0c2fe746db1057a6de9a46e52013dad0b4
parentae737cbbbe7c602e46a6093db9ae924900e603e5 (diff)
Assign default user sort type issue is fixed
User default sort type Issue-ID: PORTAL-862 Change-Id: Iaa82801e21aff4be7639ad014784561b5aa59e20 Signed-off-by: jz385p <jegadeesh.babu@att.com> (cherry picked from commit 02def0f28e693bc8a241f2b294a5dd9a8969a2b8)
-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);