From d60318a7094880b8fa6b1db8afd0e685431ed01c Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Mon, 7 Jun 2021 14:05:10 +0300 Subject: [PATCH] UI: Refactoring entities-table-models --- .../home/components/entity/entities-table.component.html | 2 +- .../home/models/entity/entities-table-config.models.ts | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/entity/entities-table.component.html b/ui-ngx/src/app/modules/home/components/entity/entities-table.component.html index 83f221f9e1..539371301e 100644 --- a/ui-ngx/src/app/modules/home/components/entity/entities-table.component.html +++ b/ui-ngx/src/app/modules/home/components/entity/entities-table.component.html @@ -165,7 +165,7 @@ matTooltipPosition="above" [ngStyle]="cellStyle(entity, column, row)"> - + > extends BaseEntityTabl public headerCellStyleFunction: HeaderCellStyleFunction = () => ({}), public cellTooltipFunction: CellTooltipFunction = () => undefined, public isNumberColumn: boolean = false, - public actionCell: CellActionDescriptor = {isEnabled: () => false, name: null, onAction: () => ({})}) { + public actionCell: CellActionDescriptor = null) { super('content', key, title, width, sortable); } } @@ -192,7 +192,3 @@ export class EntityTableConfig, P extends PageLink = P export function checkBoxCell(value: boolean): string { return `${value ? 'check_box' : 'check_box_outline_blank'}`; } - -export function copyCellContent(value: string): string { - return `${value ? 'check_box' : 'check_box_outline_blank'}`; -}