Skip to content

Commit

Permalink
fix items chenged check in blueprints
Browse files Browse the repository at this point in the history
  • Loading branch information
IzaacAyelin committed Jun 13, 2024
1 parent 15ab325 commit f5015f2
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 f5015f2

Please sign in to comment.