Skip to content

Commit

Permalink
Merge branch 'stagingcandidate' of github.com:m2ms/fragalysis-fronten…
Browse files Browse the repository at this point in the history
…d into stagingcandidate
  • Loading branch information
matej-vavrek committed Feb 16, 2024
2 parents 779e80e + 21050e6 commit b543e50
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions js/components/target/redux/dispatchActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,12 @@ export const getTargetProjectCombinations = (targets, projects) => {
result.push({ updatedTarget: { ...target, project: { target_access_string: 'Legacy' } } });
}
});
} else if (targetItems.length > 0) {
targetItems.forEach(([targetId, target]) => {
if (target.isLegacy) {
result.push({ updatedTarget: { ...target, project: { target_access_string: 'Legacy' } } });
}
});
}

return result;
Expand Down

0 comments on commit b543e50

Please sign in to comment.