l-min-components 1.7.1549 → 1.7.1550
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/components/reportsComponents/reportQuestions/questions/dialogueScripted.jsx +1 -1
- package/src/components/reportsComponents/reportQuestions/questions/dialogueUnscripted.jsx +4 -2
- package/src/components/reportsComponents/reportQuestions/questions/quizScripted.jsx +1 -1
- package/src/components/reportsComponents/reportQuestions/questions/quizUnsripted.jsx +4 -2
package/package.json
CHANGED
|
@@ -85,7 +85,9 @@ const DialogueUnscripted = ({
|
|
|
85
85
|
<Response
|
|
86
86
|
title=""
|
|
87
87
|
response={
|
|
88
|
-
analysis?.models?.length > 0 &&
|
|
88
|
+
analysis?.models?.length > 0 &&
|
|
89
|
+
transcript?.length > 0 &&
|
|
90
|
+
selectedResponse?.recording?.url
|
|
89
91
|
? transcript
|
|
90
92
|
: undefined
|
|
91
93
|
}
|
|
@@ -107,7 +109,7 @@ const DialogueUnscripted = ({
|
|
|
107
109
|
<AnalysisButton
|
|
108
110
|
disabled={
|
|
109
111
|
!(
|
|
110
|
-
analysis?.models?.length > 0
|
|
112
|
+
analysis?.models?.length > 0 &&
|
|
111
113
|
selectedResponse?.recording?.url
|
|
112
114
|
)
|
|
113
115
|
}
|
|
@@ -101,7 +101,7 @@ const QuizScripted = ({
|
|
|
101
101
|
{analysis?.models?.length > 0 && (
|
|
102
102
|
<AnalysisButton
|
|
103
103
|
disabled={
|
|
104
|
-
!(analysis?.models?.length > 0
|
|
104
|
+
!(analysis?.models?.length > 0 && selectedResponse?.recording)
|
|
105
105
|
}
|
|
106
106
|
onClick={() => {
|
|
107
107
|
setToggle({
|
|
@@ -77,7 +77,9 @@ const QuizUnscripted = ({
|
|
|
77
77
|
<QuestionSectionWithAnalysis>
|
|
78
78
|
<Response
|
|
79
79
|
response={
|
|
80
|
-
analysis?.models?.length > 0 &&
|
|
80
|
+
analysis?.models?.length > 0 &&
|
|
81
|
+
transcript?.length > 0 &&
|
|
82
|
+
selectedResponse?.recording
|
|
81
83
|
? transcript
|
|
82
84
|
: undefined
|
|
83
85
|
}
|
|
@@ -98,7 +100,7 @@ const QuizUnscripted = ({
|
|
|
98
100
|
{analysis?.models?.length > 0 && (
|
|
99
101
|
<AnalysisButton
|
|
100
102
|
disabled={
|
|
101
|
-
!(analysis?.models?.length > 0
|
|
103
|
+
!(analysis?.models?.length > 0 && selectedResponse?.recording)
|
|
102
104
|
}
|
|
103
105
|
onClick={() => {
|
|
104
106
|
setToggle({
|