X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=src%2Fapp%2Fpackages%2Fns-packages%2FNSPackagesComponent.ts;h=5dc36e72ee84d45c291227507928d7c2af6b9ccc;hb=79971eb04102e22baa15da92888bed74899e7d90;hp=46366e0979594c1cf4bc035669764c095c311bae;hpb=42862ae098e72ac875c0cb311ce354ae075707be;p=osm%2FNG-UI.git diff --git a/src/app/packages/ns-packages/NSPackagesComponent.ts b/src/app/packages/ns-packages/NSPackagesComponent.ts index 46366e0..5dc36e7 100644 --- a/src/app/packages/ns-packages/NSPackagesComponent.ts +++ b/src/app/packages/ns-packages/NSPackagesComponent.ts @@ -126,11 +126,10 @@ export class NSPackagesComponent implements OnInit { /** smart table Header Colums @public */ public generateColumns(): void { this.columnLists = { - shortName: { title: this.translateService.instant('SHORTNAME'), width: '15%', sortDirection: 'asc' }, - identifier: { title: this.translateService.instant('IDENTIFIER'), width: '20%' }, + name: { title: this.translateService.instant('NAME'), width: '15%', sortDirection: 'asc' }, + identifier: { title: this.translateService.instant('IDENTIFIER'), width: '30%' }, description: { title: this.translateService.instant('DESCRIPTION'), width: '25%' }, - vendor: { title: this.translateService.instant('VENDOR'), width: '15%' }, - version: { title: this.translateService.instant('VERSION'), width: '10%' }, + version: { title: this.translateService.instant('VERSION'), width: '15%' }, Actions: { name: 'Actions', width: '15%', filter: false, sort: false, type: 'custom', title: this.translateService.instant('ACTIONS'), @@ -212,10 +211,9 @@ export class NSPackagesComponent implements OnInit { /** Generate nsData object from loop and return for the datasource @public */ public generateNSData(nsdpackagedata: NSDDetails): NSData { return { - shortName: nsdpackagedata['short-name'], + name: nsdpackagedata.name, identifier: nsdpackagedata._id, description: nsdpackagedata.description, - vendor: nsdpackagedata.vendor, version: nsdpackagedata.version }; }