Closed mlqn closed 4 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 90.68%. Comparing base (
8d5d3b2
) to head (b1c83cd
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
The data model bindings are now memoized in the app-frontend, causing the Preview to no longer update when the bindings change. A hack we already use in several places (https://github.com/Altinn/altinn-studio/pull/12733) is to force Preview to update by unmonting the component using
resetQueries
instead ofinvalidateQueries
.This bug was reported by @lassopicasso.
BEFORE
https://github.com/Altinn/altinn-studio/assets/24462611/b0469d57-bd8d-415e-a490-f8d58127e27f
AFTER
https://github.com/Altinn/altinn-studio/assets/24462611/8be033c7-c3ec-41e3-bd26-1423b2d0ffc9
Verification