[WEB-1601] fix: archive issues mutation. (#4815)

This commit is contained in:
Prateek Shourya 2024-06-14 17:09:49 +05:30 committed by GitHub
parent 71c77d30a0
commit 0aca5c7a86
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -744,9 +744,15 @@ export abstract class BaseIssuesStore implements IBaseIssuesStore {
runInAction(() => {
issueIds.forEach((issueId) => {
this.updateIssue(workspaceSlug, projectId, issueId, {
archived_at: response.archived_at,
});
this.updateIssue(
workspaceSlug,
projectId,
issueId,
{
archived_at: response.archived_at,
},
false
);
this.removeIssueFromList(issueId);
});
});