forked from MapComplete/MapComplete
More fixes to the refactored code
This commit is contained in:
parent
42d13f564c
commit
94f9a0de56
15 changed files with 78 additions and 82 deletions
2
Utils.ts
2
Utils.ts
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue