CEC-4854 Trunk-based deploy pipeline (#412)
* CEC-4855: fix manifest deselect (#410) * fix manifest deselect * adjusted blackduck pipeline to run the latest detect version * added blackduck_rapid pipeline to run synopsys detect rapid scans * adjusted deploy pipeline to trun-based model, adjusted test pipeline to use main branch * test image builds * clean up * CEC-4563: add cancel and include results in promise (#411) * splited build and deploy order according to each environment, test builds * clean up * clean up * CEC-4635: prevent false 0 calculation (#413) * prevent false 0 calculation * refactor switch statement --------- Co-authored-by: Tristan Timblin <ttimblin@fiskerinc.com>
This commit is contained in:
@@ -274,12 +274,10 @@ const MainForm = () => {
|
||||
|
||||
const handleSelect = (event, manifest) => {
|
||||
setUpdateManifestIds((selected) => {
|
||||
if (event.target.checked && selected.find((id) => id === manifest.id)) {
|
||||
return selected;
|
||||
} else if (event.target.checked) {
|
||||
if (event.target.checked) {
|
||||
return [...selected, manifest.id];
|
||||
}
|
||||
return selected.filter(({ id }) => id !== manifest.id);
|
||||
return selected.filter(id => id !== manifest.id);
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user