mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-18 08:03:11 +00:00
fix: strip hash from diff comparisons to avoid spurious deployed-vs-draft diffs
This commit is contained in:
@@ -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]))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user