From 6507e3cbf133a918b306cf27f985f645e379b895 Mon Sep 17 00:00:00 2001 From: Stephano Som Date: Sat, 8 Dec 2018 10:09:23 -0500 Subject: [PATCH] personal change to fix changes only when different value --- src/ParseObject.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ParseObject.js b/src/ParseObject.js index fa5faa01f..7b160960f 100644 --- a/src/ParseObject.js +++ b/src/ParseObject.js @@ -612,7 +612,9 @@ class ParseObject { changes = key; options = value; } else if (typeof key === 'string') { - changes[key] = value; + if (this.get(key) !== value) { + changes[key] = value; + } } else { return this; }