summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/services/catalog.service.ts
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-ui/src/app/ng2/services/catalog.service.ts')
-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) {