mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-23 21:02:24 +02:00
UBERF-9137: Fix Support for suspended installations (#7667)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -446,9 +446,9 @@ export class ProjectsSyncManager implements DocSyncManager {
|
||||
|
||||
if (syncConfig.SupportMilestones && integration.type === 'Organization') {
|
||||
// Check project milestones and sync their structure as well.
|
||||
const milestones = (await this.provider.liveQuery.queryFind(github.mixin.GithubMilestone, {})).filter(
|
||||
(it) => it.space === prj._id
|
||||
)
|
||||
const milestones = await this.provider.liveQuery.findAll(github.mixin.GithubMilestone, {
|
||||
space: prj._id
|
||||
})
|
||||
for (const m of milestones) {
|
||||
if (this.provider.isClosing()) {
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user