Skip to content

Commit

Permalink
Merge pull request #28 from mikproto/master
Browse files Browse the repository at this point in the history
fixed null problem
  • Loading branch information
revolist authored Sep 19, 2020
2 parents c6e3166 + 21d52d1 commit c5d6cd3
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 @@ -76,7 +76,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 c5d6cd3

Please sign in to comment.