projects
/
osm
/
NG-UI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix Bug 2121: NG-UI uses unmaintained Chokidar version
[osm/NG-UI.git]
/
src
/
app
/
packages
/
ns-packages
/
NSPackagesComponent.ts
diff --git
a/src/app/packages/ns-packages/NSPackagesComponent.ts
b/src/app/packages/ns-packages/NSPackagesComponent.ts
index
5dc36e7
..
8960497
100644
(file)
--- 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' },
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%' },
description: { title: this.translateService.instant('DESCRIPTION'), width: '25%' },
- version: { title: this.translateService.instant('VERSION'), width: '15%' },
Actions: {
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
}
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,
name: nsdpackagedata.name,
identifier: nsdpackagedata._id,
description: nsdpackagedata.description,
- version: nsdpackagedata.version
+ version: nsdpackagedata.version,
+ designer: nsdpackagedata.designer !== undefined ? nsdpackagedata.designer : '-'
};
}
};
}
@@
-244,6
+246,7
@@
export class NSPackagesComponent implements OnInit {
}
/** Handle compose new ns package method @public */
public composeNSPackage(): void {
}
/** Handle compose new ns package method @public */
public composeNSPackage(): void {
+ // eslint-disable-next-line security/detect-non-literal-fs-filename
this.modalService.open(ComposePackages, { backdrop: 'static' }).componentInstance.params = { page: 'ns-package' };
}
this.modalService.open(ComposePackages, { backdrop: 'static' }).componentInstance.params = { page: 'ns-package' };
}