aboutsummaryrefslogtreecommitdiff
path: root/src/fields/util.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-06-20 05:31:25 -0400
committerbobzel <zzzman@gmail.com>2022-06-20 05:31:25 -0400
commitc0826fb904f5d2448635b5dae1fc4337fead939e (patch)
tree212d37de8064cb180856e7bd26173dd27ba859ba /src/fields/util.ts
parent3351c0372a8372a3e91bbd814f827a8b984f8665 (diff)
lots of changes to try to cleanup CurrentUserUtils so changes can be made without rebuilding the DB.
Diffstat (limited to 'src/fields/util.ts')
-rw-r--r--src/fields/util.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fields/util.ts b/src/fields/util.ts
index d1e565774..37b9be31b 100644
--- a/src/fields/util.ts
+++ b/src/fields/util.ts
@@ -88,6 +88,9 @@ const _setterImpl = action(function (target: any, prop: string | symbol | number
delete target.__fields[prop];
} else {
target.__fieldKeys && (target.__fieldKeys[prop] = true);
+ // if (target.__fields[prop] !== value) {
+ // console.log("ASSIGN " + prop + " " + value);
+ // }
target.__fields[prop] = value;
}
//if (typeof value === "object" && !(value instanceof ObjectField)) debugger;