From 8dbaf67dce6809dfacfcfe505b0c85eb04927109 Mon Sep 17 00:00:00 2001 From: zeppi Date: Fri, 10 Sep 2021 23:36:55 -0400 Subject: [PATCH] use replace for list updates --- dist/bundle.es.js | 3 ++- src/redux/actions/claims.js | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/dist/bundle.es.js b/dist/bundle.es.js index e576ba1..341f87a 100644 --- a/dist/bundle.es.js +++ b/dist/bundle.es.js @@ -4520,7 +4520,8 @@ function doCollectionPublishUpdate(options, isBackgroundUpdate) { locations: [], blocking: true, claim_id: options.claim_id, - clear_claims: true + clear_claims: true, + replace: true }; if (isBackgroundUpdate && updateParams.claim_id) { diff --git a/src/redux/actions/claims.js b/src/redux/actions/claims.js index f5bf190..a287087 100644 --- a/src/redux/actions/claims.js +++ b/src/redux/actions/claims.js @@ -859,6 +859,7 @@ export function doCollectionPublishUpdate( languages?: Array, claims?: Array, clear_claims: boolean, + replace: boolean, } = isBackgroundUpdate ? { blocking: true, @@ -876,6 +877,7 @@ export function doCollectionPublishUpdate( blocking: true, claim_id: options.claim_id, clear_claims: true, + replace: true, }; if (isBackgroundUpdate && updateParams.claim_id) { -- 2.45.2