Altinn / app-frontend-react

Altinn application React frontend
BSD 3-Clause "New" or "Revised" License
18 stars 31 forks source link

Preventing removal of stale values with `renderAsSummary` #2743

Closed olemartinorg closed 1 day ago

olemartinorg commented 1 day ago

Description

In these cases, stale values should not be removed. I've actually added tests here, but I haven't deployed them yet. I'm testing this by adding a component to the shifting-options page in ttd/frontend-test which would fail an existing test if stale options were removed. I'm not deploying that until this PR is merged, as all other PRs would fail without this fix.

Related Issue(s)

Verification/QA

sonarcloud[bot] commented 1 day ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud