Skip to content

Commit

Permalink
📝 [#498] Add comment about the backend clearing the selection
Browse files Browse the repository at this point in the history
  • Loading branch information
SilviaAmAm committed Nov 22, 2024
1 parent c1dbbad commit ada5fe3
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ export async function destructionListApproveListAction({
try {
await Promise.all([
await createDestructionListReview(data),
// The selection is cleared to prevent clashes, since the backend
// can pre-populate it for future reviews (see github issue #498).
await clearZaakSelection(
getDestructionListReviewKey(destructionList, status),
RestBackend,
Expand Down Expand Up @@ -110,6 +112,8 @@ export async function destructionListRejectListAction({
try {
await Promise.all([
createDestructionListReview(data),
// The selection is cleared to prevent clashes, since the backend
// can pre-populate it for future reviews (see github issue #498).
clearZaakSelection(
getDestructionListReviewKey(destructionList, status),
RestBackend,
Expand Down

0 comments on commit ada5fe3

Please sign in to comment.