l-min-components 1.7.1559 → 1.7.1561
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
|
@@ -260,39 +260,35 @@ const ReportQuestions = ({
|
|
|
260
260
|
<InfoIcon2 />
|
|
261
261
|
</ScoreHeader>
|
|
262
262
|
<QuestionNav>
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
{
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
{" "}
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
</button>
|
|
293
|
-
</>
|
|
294
|
-
)}
|
|
295
|
-
</>
|
|
263
|
+
{navControl?.on ? (
|
|
264
|
+
<>
|
|
265
|
+
<button
|
|
266
|
+
disabled={navControl.disablePrev}
|
|
267
|
+
onClick={navControl.onPrev}
|
|
268
|
+
>
|
|
269
|
+
<NavBack disabled={navControl.disablePrev} />
|
|
270
|
+
{findText("Previous question")}
|
|
271
|
+
</button>
|
|
272
|
+
<button
|
|
273
|
+
disabled={navControl.disableNext}
|
|
274
|
+
onClick={navControl.onNext}
|
|
275
|
+
>
|
|
276
|
+
{findText("Next question")}
|
|
277
|
+
<NavForword disabled={navControl.disableNext} />
|
|
278
|
+
</button>
|
|
279
|
+
</>
|
|
280
|
+
) : (
|
|
281
|
+
<>
|
|
282
|
+
<button disabled={!prevId} onClick={handlePrev}>
|
|
283
|
+
<NavBack disabled={!prevId} />
|
|
284
|
+
{findText("Previous question")}
|
|
285
|
+
</button>
|
|
286
|
+
<button disabled={!nextId} onClick={handleNext}>
|
|
287
|
+
{findText("Next question")}
|
|
288
|
+
<NavForword disabled={!nextId} />
|
|
289
|
+
</button>
|
|
290
|
+
</>
|
|
291
|
+
)}
|
|
296
292
|
</QuestionNav>
|
|
297
293
|
</ScoreHeaderContainer>
|
|
298
294
|
{/* {data && !hasAnswer && <ErrorHeader />} */}
|