altinn-studio icon indicating copy to clipboard operation
altinn-studio copied to clipboard

Fix reloads of preview

Open mlqn opened this issue 9 months ago • 1 comments

Description

  • replaced reload with resetQueries
  • moved refetchLayouts outside of mutations

Related Issue(s)

  • #12658
  • #12559

Verification

  • [x] Your code builds clean without any errors or warnings
  • [x] Manual testing done (required)
  • [ ] Relevant automated test added (if you find this hard, leave it and we'll help out)

mlqn avatar Apr 30 '24 18:04 mlqn

Codecov Report

Attention: Patch coverage is 98.14815% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 90.37%. Comparing base (b477008) to head (12e4bc8). Report is 20 commits behind head on main.

Files Patch % Lines
frontend/packages/ux-editor/src/AppContext.tsx 90.00% 1 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #12733      +/-   ##
==========================================
+ Coverage   90.26%   90.37%   +0.11%     
==========================================
  Files        1320     1320              
  Lines       18953    18957       +4     
  Branches     2313     2312       -1     
==========================================
+ Hits        17107    17133      +26     
+ Misses       1582     1562      -20     
+ Partials      264      262       -2     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar May 07 '24 15:05 codecov[bot]