l-min-components 1.7.1529 → 1.7.1530

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.1529",
3
+ "version": "1.7.1530",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src/assets",
@@ -71,6 +71,7 @@ const ReportQuestions = ({
71
71
  answerData,
72
72
  onSwitchQuestion,
73
73
  loading,
74
+ mainTitle,
74
75
  }) => {
75
76
  const { findText } = useTranslation(wordStore);
76
77
  const [questionList, setQuestionList] = useState([]);
@@ -175,9 +176,9 @@ const ReportQuestions = ({
175
176
  )}
176
177
  <Header onClick={onClose}>
177
178
  <ArrowLeft />
178
- {question && (
179
+ {question && !loading && (
179
180
  <h1>
180
- {question.label}
181
+ {mainTitle || question?.label}
181
182
 
182
183
  {/* {question.type && <span>({question.type})</span>} */}
183
184
  </h1>