Skip to content

Commit b44cfe0

Browse files
authored
Table-cell component fails when a cell value is not a string (#134)
1 parent 2afb21d commit b44cfe0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng-generate/components/table/generators/components/table-cell/files/__name@dasherize__.component.ts.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export class EsmfTableCellComponent {
2525
}
2626

2727
get notEmptyValue(): boolean {
28-
return this.value !== null && this.value !== undefined && this.value.trim() !== '-';
28+
return this.value !== null && this.value !== undefined && this.value.toString().trim() !== '-';
2929
}
3030

3131
constructor(private readonly clipboard: Clipboard) {}

0 commit comments

Comments
 (0)