[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:
rahulramesha
2024-07-30 13:48:52 +05:30
committed by GitHub
parent 7b82d1c62f
commit e3143ff00b
4 changed files with 12 additions and 29 deletions
@@ -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(