π₯π₯π₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.
TypeScript boardsbug-trackerdjangodockerganttissue-trackerjirajira-alternativekanbanlinearpostgresqlproduct-managementproject-managementproject-planningpythonreactredistypesciptvitework-management
fix the bug that incorrectly updates issue store for array properties during bulk ops (#4849)
rahulramesha10e67144a098
diff --git a/web/core/store/issue/helpers/base-issues.store.ts b/web/core/store/issue/helpers/base-issues.store.tsindex 7e04642281..2edb11735b 100644--- a/web/core/store/issue/helpers/base-issues.store.ts+++ b/web/core/store/issue/helpers/base-issues.store.ts@@ -804,7 +804,7 @@ export abstract class BaseIssuesStore implements IBaseIssuesStore {// convert existing value to an arrayconst 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