fix the bug that incorrectly updates issue store for array properties during bulk ops (#4849)
This commit is contained in:
parent
0e63128d45
commit
10e67144a0
1 changed files with 1 additions and 1 deletions
|
|
@ -804,7 +804,7 @@ export abstract class BaseIssuesStore implements IBaseIssuesStore {
|
|||
// convert existing value to an array
|
||||
const newExistingValue = Array.isArray(existingValue) ? existingValue : [];
|
||||
this.rootIssueStore.issues.updateIssue(issueId, {
|
||||
[property]: uniq([newExistingValue, ...propertyValue]),
|
||||
[property]: uniq([...newExistingValue, ...propertyValue]),
|
||||
});
|
||||
} else {
|
||||
// if property value is not an array, simply update the value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue