Skip to content

Commit

Permalink
[blueprints] fix: items changed check in blueprints (#1248)
Browse files Browse the repository at this point in the history
  • Loading branch information
IzaacAyelin authored Jun 13, 2024
1 parent fa02bb1 commit b54d83d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/blueprints/src/Blueprints.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,14 +180,14 @@ class Blueprints {
(newItem.metaData.type !== existingItem.metaData.type ||
newItem.metaData.title !== existingItem.metaData.title ||
newItem.metaData.description !==
existingItem.metaData.description)) ||
existingItem.metaData.description ||
newItem.metaData.width !== existingItem.metaData.width ||
newItem.metaData.height !== existingItem.metaData.height)) ||
(newItem.metaData &&
newItem.metaData.type === 'text' &&
existingItem.metaData &&
existingItem.metaData.type === 'text' &&
(newItem.metaData.width !== existingItem.metaData.width ||
newItem.metaData.height !== existingItem.metaData.height ||
newItem.metaData.html !== existingItem.metaData.html ||
(newItem.metaData.html !== existingItem.metaData.html ||
newItem.metaData.textStyle !==
existingItem.metaData.textStyle ||
newItem.metaData.editorHtml !==
Expand Down

0 comments on commit b54d83d

Please sign in to comment.