From fd70f8c4d21fdb1141a9484033b666e9f34360a4 Mon Sep 17 00:00:00 2001 From: Samuel Gratzl Date: Wed, 5 Oct 2016 17:31:07 +0200 Subject: [PATCH] ensure StringColumns.getValue is a string --- src/model.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/model.ts b/src/model.ts index 7111994a9..55ad565e8 100644 --- a/src/model.ts +++ b/src/model.ts @@ -873,7 +873,7 @@ export class StringColumn extends ValueColumn { if (typeof(v) === 'undefined' || v == null) { return ''; } - return v; + return String(v); } dump(toDescRef:(desc:any) => any):any {