Skip to content

Commit 08a2d77

Browse files
[5.x] Avoid updating Bard value unless content has actually changed (#13645)
1 parent 7635298 commit 08a2d77

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

resources/js/components/fieldtypes/bard/BardFieldtype.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ export default {
411411
json(json, oldJson) {
412412
if (!this.mounted) return;
413413
414-
if (json === oldJson) return;
414+
if (JSON.stringify(json) === JSON.stringify(oldJson)) return;
415415
416416
this.updateDebounced(json);
417417
},

0 commit comments

Comments
 (0)