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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "l-min-components",
3
- "version": "1.7.1549",
3
+ "version": "1.7.1550",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src/assets",
@@ -115,7 +115,7 @@ const DialogueScripted = ({
115
115
  <AnalysisButton
116
116
  disabled={
117
117
  !(
118
- analysis?.models?.length > 0 ||
118
+ analysis?.models?.length > 0 &&
119
119
  selectedResponse?.recording?.url
120
120
  )
121
121
  }
@@ -85,7 +85,9 @@ const DialogueUnscripted = ({
85
85
  <Response
86
86
  title=""
87
87
  response={
88
- analysis?.models?.length > 0 && transcript?.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 || selectedResponse?.recording)
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 && transcript?.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 || selectedResponse?.recording)
103
+ !(analysis?.models?.length > 0 && selectedResponse?.recording)
102
104
  }
103
105
  onClick={() => {
104
106
  setToggle({