We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d826778 commit e7412d5Copy full SHA for e7412d5
src/app/features/issue/providers/gitlab/gitlab-common-interfaces.service.ts
@@ -175,6 +175,7 @@ export class GitlabCommonInterfacesService implements IssueServiceInterface {
175
issueWasUpdated: false,
176
issueLastUpdated: new Date(issue.updated_at).getTime(),
177
issueId: issue.id,
178
+ isDone: this._isIssueDone(issue),
179
};
180
}
181
@@ -197,4 +198,8 @@ export class GitlabCommonInterfacesService implements IssueServiceInterface {
197
198
private _getCfgOnce$(issueProviderId: string): Observable<IssueProviderGitlab> {
199
return this._issueProviderService.getCfgOnce$(issueProviderId, 'GITLAB');
200
201
+
202
+ private _isIssueDone(issue: GitlabIssue): boolean {
203
+ return issue.state === 'closed';
204
+ }
205
0 commit comments