Skip to content

Commit

Permalink
Make session count button disabled when no students have been helped
Browse files Browse the repository at this point in the history
  • Loading branch information
hbiede committed Dec 31, 2020
1 parent c676792 commit fbe6c3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/screens/FeedbackForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ const FeedbackForm = ({ style }: Props) => {
aria-expanded={isSessionTextOpen}
type="button"
variant="secondary"
disabled={Object.keys(sessionInteractions).length === 0}
>
{sessionCountText}
</Button>
Expand Down

0 comments on commit fbe6c3c

Please sign in to comment.