More fixes to the refactored code

This commit is contained in:
Pieter Vander Vennet 2021-06-15 16:18:58 +02:00
parent 42d13f564c
commit 94f9a0de56
15 changed files with 78 additions and 82 deletions

View file

@ -108,7 +108,7 @@ export class Utils {
}
public static EllipsesAfter(str: string, l: number = 100) {
if (str === undefined) {
if (str === undefined || str === null) {
return undefined;
}
if (str.length <= l) {