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 May 17, 2024
1 parent ecd1f14 commit 16b0df0
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 16b0df0

Please sign in to comment.