Skip to content

Commit

Permalink
Merge pull request #246 from department-of-veterans-affairs/bp-193-re…
Browse files Browse the repository at this point in the history
…view-github-actions

Fixing syntax
  • Loading branch information
bellepx0 authored Nov 21, 2024
2 parents 8c20250 + ba4b051 commit fb95ec1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/sync-status-across-projects.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@ jobs:
const projectItems = data.node.projectItems.nodes;
// Find the "Status" field and its options
# const statusFieldOptions = projectItems
# .map(item => item.project.fields.nodes.find(field => field.name === 'Status')) // Find "Status" field in each project
# .find(Boolean);
const statusFieldOptions = projectItems
.map(item => item.project.fields.nodes.find(field => field.name === 'Status')) // Find "Status" field in each project
.find(Boolean);
if (statusFieldOptions) {
// Find the corresponding field value for "Status"
Expand Down

0 comments on commit fb95ec1

Please sign in to comment.