Merge branch 'main' into piyush/enterprise-license-check

This commit is contained in:
Matti Nannt
2024-05-06 18:00:45 +02:00
committed by GitHub
+1 -1
View File
@@ -54,7 +54,7 @@ export const determineImageUploaderVisibility = (questionIdx: number, localSurve
case localSurvey.questions.length: // Thank You Card
return !!localSurvey.thankYouCard.imageUrl || !!localSurvey.thankYouCard.videoUrl;
case -1: // Welcome Card
return !!localSurvey.welcomeCard.fileUrl || !!localSurvey.welcomeCard.videoUrl;
return false;
default:
// Regular Survey Question
const question = localSurvey.questions[questionIdx];