summaryrefslogtreecommitdiffstats
path: root/portal-FE-common
diff options
context:
space:
mode:
Diffstat (limited to 'portal-FE-common')
-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);