Skip to content

Commit

Permalink
apply change from josé
Browse files Browse the repository at this point in the history
  • Loading branch information
Steffen Deusch committed Feb 16, 2024
1 parent 512eaa6 commit 8b31353
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/js/phoenix_live_view/rendered.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,8 @@ export default class Rendered {
let targetVal = target[key]
if(isObject(val) && val[STATIC] === undefined && isObject(targetVal)){
merged[key] = this.cloneMerge(targetVal, val, pruneMagicId)
} else if(val === undefined && isObject(targetVal)){
merged[key] = this.cloneMerge(targetVal, {}, pruneMagicId)
}
}
if(pruneMagicId){
Expand Down

0 comments on commit 8b31353

Please sign in to comment.