summaryrefslogtreecommitdiffstats
path: root/catalog-ui
diff options
context:
space:
mode:
authorJvD_Ericsson <jeff.van.dam@est.tech>2023-02-23 11:28:41 +0000
committerJeff van Dam <jeff.van.dam@est.tech>2023-02-23 13:53:04 +0000
commit96bfbbad6b2a7e6db7d4e78ed182c8be4f7c895f (patch)
tree44293b3b52d1915a6887472bc2fefb15d70d1794 /catalog-ui
parenteb69d6f1d056fc2c4e9338f2460ca9ca7b9504f3 (diff)
Fix cannot view archived components on UI
Issue-ID: SDC-4416 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Ie24af434a1e983d2e7c972a117f8806bf981650e
Diffstat (limited to 'catalog-ui')
-rw-r--r--catalog-ui/src/app/ng2/services/catalog.service.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/catalog-ui/src/app/ng2/services/catalog.service.ts b/catalog-ui/src/app/ng2/services/catalog.service.ts
index 02ba33088f..61d4b0d609 100644
--- a/catalog-ui/src/app/ng2/services/catalog.service.ts
+++ b/catalog-ui/src/app/ng2/services/catalog.service.ts
@@ -58,7 +58,7 @@ export class CatalogService {
public getArchiveCatalog() {
return this.http.get<IComponentsArray>(this.baseUrl + '/v1/catalog/archive/', {})
- .map(res => this.processComponentsResponse(res[0]));
+ .map(res => this.processComponentsResponse([res, []]));
}
private processComponentsResponse(componentsArr: [IComponentsArray, DataTypeModel[]], addSharing:boolean = false) {