mirror of
https://github.com/makeplane/plane.git
synced 2026-05-08 00:49:36 -05:00
[WEB-1812] fix : Avoid loader when parent is added in issue detail / peek overview (#5257)
* use common getIssues from issue service instead of multiple different services for modules and cycles
* fix parent issue refresh
* Revert "use common getIssues from issue service instead of multiple different services for modules and cycles"
This reverts commit 957e981168.
This commit is contained in:
@@ -128,6 +128,12 @@ export class IssueSubIssuesStore implements IIssueSubIssuesStore {
|
||||
this.fetchOtherProjectProperties(workspaceSlug, otherProjectIds);
|
||||
}
|
||||
|
||||
if (subIssues) {
|
||||
this.rootIssueDetailStore.rootIssueStore.issues.updateIssue(parentIssueId, {
|
||||
sub_issues_count: subIssues.length,
|
||||
});
|
||||
}
|
||||
|
||||
runInAction(() => {
|
||||
set(this.subIssuesStateDistribution, parentIssueId, subIssuesStateDistribution);
|
||||
set(
|
||||
|
||||
Reference in New Issue
Block a user