From 7b59cfc94677ad7c401fd359ad695ba40c6fcb58 Mon Sep 17 00:00:00 2001 From: Guilhem Lemouel Date: Wed, 27 May 2026 17:38:18 +0200 Subject: [PATCH] fix: strip hash from diff comparisons to avoid spurious deployed-vs-draft diffs --- frontend/src/lib/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/lib/utils.ts b/frontend/src/lib/utils.ts index 8fb6475806..8d8317f4a4 100644 --- a/frontend/src/lib/utils.ts +++ b/frontend/src/lib/utils.ts @@ -1289,7 +1289,7 @@ export function cleanValueProperties(obj: Value) { } else { let newObj: any = {} for (const key of Object.keys(obj)) { - if (key !== 'parent_hash' && key !== 'draft' && key !== 'draft_only') { + if (key !== 'parent_hash' && key !== 'hash' && key !== 'draft' && key !== 'draft_only') { newObj[key] = structuredClone(stateSnapshot(obj[key])) } }