Skip to content

Commit

Permalink
fix carouself overflow, fix setup not recognizing finished idle upload
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronshiel committed Sep 26, 2023
1 parent 6d01837 commit 593d098
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions client/src/hooks/graphql/use-with-setup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,13 @@ export function useWithSetup(
mentor.mentorType === MentorType.VIDEO && idleAnswer
? {
idle: idleAnswer,
complete: isAnswerComplete(
idleAnswer,
UtteranceName.IDLE,
mentor.mentorType
),
complete:
isAnswerComplete(
idleAnswer,
UtteranceName.IDLE,
mentor.mentorType
) ||
Boolean(uploads.find((u) => u.question == idleAnswer.question)),
}
: undefined;
const requiredSubjects = mentor.subjects
Expand Down
2 changes: 1 addition & 1 deletion client/src/pages/setup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const useStyles = makeStyles({ name: { SetupPage } })(() => ({
alignContent: "center",
height: "700px",
width: "100%",
overflow: "visible",
overflow: "hidden",
},
card: {
minHeight: 450,
Expand Down

0 comments on commit 593d098

Please sign in to comment.