Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Commit

Permalink
fix: load a config even if orb does not exist (#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaryt authored Aug 11, 2022
1 parent 3d25947 commit add8bea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/panes/WorkflowsPane.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ const WorkflowsPane = () => {
className="hidden"
onChange={(e) => {
if (!e.target.files) {
console.error('File upload failed');
return;
}

Expand Down Expand Up @@ -93,6 +94,8 @@ const WorkflowsPane = () => {

setConfig(yml, orbImports);
});
} else {
setConfig(yml);
}
});
}}
Expand Down

0 comments on commit add8bea

Please sign in to comment.