Skip to content

Commit

Permalink
fixed null problem
Browse files Browse the repository at this point in the history
  • Loading branch information
m2a2x committed Sep 17, 2020
1 parent bcdbd75 commit 21d52d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/data/columnService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export default class ColumnService implements ColumnServiceI {
}

static getData(val: any): string {
if (typeof val === 'undefined') {
if (typeof val === 'undefined' || val === 'null') {
return '';
}
return val.toString();
Expand Down

0 comments on commit 21d52d1

Please sign in to comment.