Compare commits

...

1 commit

Author SHA1 Message Date
zeppi
8dbaf67dce use replace for list updates 2021-09-10 23:36:55 -04:00
2 changed files with 4 additions and 1 deletions

3
dist/bundle.es.js vendored
View file

@ -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) {

View file

@ -859,6 +859,7 @@ export function doCollectionPublishUpdate(
languages?: Array<string>,
claims?: Array<string>,
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) {