use replace for list updates
This commit is contained in:
parent
49b9db5aae
commit
372e559cae
2 changed files with 4 additions and 1 deletions
3
dist/bundle.es.js
vendored
3
dist/bundle.es.js
vendored
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue