fix: minor fixes for issue relations list and retrival (#6444)

This commit is contained in:
Prateek Shourya 2025-01-23 12:42:35 +05:30 committed by GitHub
parent 8f3a0be177
commit 586a320d86
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 58 additions and 49 deletions

View file

@ -117,6 +117,10 @@ export class IssueService extends APIService {
if (response.data && this.serviceType === EIssueServiceType.ISSUES) {
updateIssue({ ...response.data, is_local_update: 1 });
}
// add is_epic flag when the service type is epic
if (response.data && this.serviceType === EIssueServiceType.EPICS) {
response.data.is_epic = true;
}
return response?.data;
})
.catch((error) => {