diff --git a/manage/manage.js b/manage/manage.js index cb24dbb9..3a618dd6 100644 --- a/manage/manage.js +++ b/manage/manage.js @@ -547,7 +547,8 @@ function handleUpdate(style, {reason, method, codeIsUpdated} = {}) { function handleToggledOrCodeOnly() { const newStyleMeta = getStyleWithNoCode(style); - const diff = objectDiff(oldEntry.styleMeta, newStyleMeta); + const diff = objectDiff(oldEntry.styleMeta, newStyleMeta) + .filter(({key, path}) => path || (!key.startsWith('original') && !key.endsWith('Date'))); if (diff.length === 0) { // only code was modified entry = oldEntry;