Fix: setting text in Span to number/null/undefined

This commit is contained in:
vakrilov
2016-04-18 18:32:55 +03:00
parent 164f36f57b
commit 5e77a887ad
8 changed files with 88 additions and 8 deletions

View File

@@ -98,4 +98,8 @@ export class ClassInfo {
}
return result;
}
}
export function toUIString(obj): string {
return isNullOrUndefined(obj) ? "" : obj + "";
}