Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
Josef Gabrielsson committed Jun 3, 2024
1 parent 421b4c0 commit d4d960c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions nightly/modules/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ app.module.data = {
}

this._process('data-get', elements[i], responseObject[j], { fullObject: responseObject, index: j })
this._process('data-set', elements[i], responseObject[j])
this._process('data-set', elements[i], responseObject[j], { fullObject: responseObject, index: j })
}
} else { // Select single.
var elements = app.element.find(element, selector),
Expand All @@ -251,8 +251,7 @@ app.module.data = {
}

if (dataget) {
var value = app.element.getPropertyByPath(responseObject, dataget)
app.element.set(arrayFromNodeList[i], value, false)
this._process('data-get', arrayFromNodeList[i], responseObject, { fullObject: responseObject, index: i })
}
}
}
Expand Down

0 comments on commit d4d960c

Please sign in to comment.