Skip to content

Commit

Permalink
mark project as active if reimported
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Nov 10, 2022
1 parent a89975d commit 97a1b18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions GitHub.omnifocusjs/Resources/pull.js
Expand Up @@ -56,6 +56,7 @@
let projectName = `${repo}#${issue.number}: ${issue.title}`;
let project = flattenedProjects.byName(projectName) || new Project(projectName);
project.addTag(repoTag);
project.status = Project.Status.Active;
project.note = `${issue.url}\n\n---\n\n${issue.body}`;
toFocus.push(project);
if (project.tasks.length === 0) {
Expand Down
1 change: 1 addition & 0 deletions GitHub.omnifocusjs/Resources/pull.ts
Expand Up @@ -91,6 +91,7 @@
let project =
flattenedProjects.byName(projectName) || new Project(projectName);
project.addTag(repoTag);
project.status = Project.Status.Active;
project.note = `${issue.url}\n\n---\n\n${issue.body}`;
toFocus.push(project);

Expand Down

0 comments on commit 97a1b18

Please sign in to comment.