Skip to content

Commit

Permalink
TasksPage: hide 'choose starting page' dropdown if 0 steps
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunanoordin committed Apr 26, 2024
1 parent 02cacc7 commit 619bc83
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ export default function TasksPage() {
aria-label="Choose starting Page"
className="flex-item workflow-starting-page"
onChange={handleChangeStartingPage}
style={(workflow?.steps?.length < 1) ? { display: 'none' } : undefined}
value={firstStepKey}
>
<option value="">Choose starting page</option>
Expand Down

0 comments on commit 619bc83

Please sign in to comment.