diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2020-07-11 19:52:33 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2020-07-11 19:52:33 -0400 |
commit | 97456cca47bfe37d8c0b78770d0db88b75289d56 (patch) | |
tree | 1d4cf06649538c1283b8875e2e317ef5c36c0df3 /src/fields/util.ts | |
parent | 6b5c11a26e114f26f3907342f9afbd47b27cecf4 (diff) | |
parent | bf8c338e662327b39cdef3f90c436447e48d2807 (diff) |
merged with master & cleaned up formatShapePane
Diffstat (limited to 'src/fields/util.ts')
-rw-r--r-- | src/fields/util.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fields/util.ts b/src/fields/util.ts index 2869ebed1..2dc21c987 100644 --- a/src/fields/util.ts +++ b/src/fields/util.ts @@ -78,7 +78,7 @@ const _setterImpl = action(function (target: any, prop: string | symbol | number } else { target.__fields[prop] = value; } - if (typeof value === "object" && !(value instanceof ObjectField)) debugger; + //if (typeof value === "object" && !(value instanceof ObjectField)) debugger; if (writeToServer) { if (value === undefined) target[Update]({ '$unset': { ["fields." + prop]: "" } }); else target[Update]({ '$set': { ["fields." + prop]: value instanceof ObjectField ? SerializationHelper.Serialize(value) : (value === undefined ? null : value) } }); |