Bug 1383 Error when consulting NS instance's topology
* SOL006 Descriptor topology changes
Change-Id: I79afb00dfb54ce2c9dc02c0c4b7bbe435b07a915
Signed-off-by: Barath Kumar R <barath.r@tataelxsi.co.in>
diff --git a/src/app/packages/ns-packages/NSPackagesComponent.ts b/src/app/packages/ns-packages/NSPackagesComponent.ts
index 5dc36e7..7302ea4 100644
--- a/src/app/packages/ns-packages/NSPackagesComponent.ts
+++ b/src/app/packages/ns-packages/NSPackagesComponent.ts
@@ -127,11 +127,12 @@
public generateColumns(): void {
this.columnLists = {
name: { title: this.translateService.instant('NAME'), width: '15%', sortDirection: 'asc' },
- identifier: { title: this.translateService.instant('IDENTIFIER'), width: '30%' },
+ identifier: { title: this.translateService.instant('IDENTIFIER'), width: '15%' },
+ version: { title: this.translateService.instant('VERSION'), width: '10%' },
+ designer: { title: this.translateService.instant('DESIGNER'), width: '15%' },
description: { title: this.translateService.instant('DESCRIPTION'), width: '25%' },
- version: { title: this.translateService.instant('VERSION'), width: '15%' },
Actions: {
- name: 'Actions', width: '15%', filter: false, sort: false, type: 'custom',
+ name: 'Actions', width: '20%', filter: false, sort: false, type: 'custom',
title: this.translateService.instant('ACTIONS'),
valuePrepareFunction: (cell: NSData, row: NSData): NSData => row, renderComponent: NsPackagesActionComponent
}
@@ -214,7 +215,8 @@
name: nsdpackagedata.name,
identifier: nsdpackagedata._id,
description: nsdpackagedata.description,
- version: nsdpackagedata.version
+ version: nsdpackagedata.version,
+ designer: nsdpackagedata.designer !== undefined ? nsdpackagedata.designer : '-'
};
}