X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=src%2Fapp%2Fpackages%2Fns-packages%2FNSPackagesComponent.ts;h=7302ea45b1d3af0c72f3f1e7fc8ee1000ed0c919;hb=43dec1560d59d84cbc5d9290549ac987f1c285ce;hp=5dc36e72ee84d45c291227507928d7c2af6b9ccc;hpb=509ed1c0d1d700122cb799671548cbd2384c9e07;p=osm%2FNG-UI.git 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 @@ export class NSPackagesComponent implements OnInit { 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 @@ export class NSPackagesComponent implements OnInit { name: nsdpackagedata.name, identifier: nsdpackagedata._id, description: nsdpackagedata.description, - version: nsdpackagedata.version + version: nsdpackagedata.version, + designer: nsdpackagedata.designer !== undefined ? nsdpackagedata.designer : '-' }; }