feat: [BD-26] Timer bar on non-sequence pages (#502)
* feat: Timer bar on non-sequence pages * chore: Update frontend-lib-special-exams version. Co-authored-by: Viktor Rusakov <vrusakov66@gmail.com> Co-authored-by: Igor Degtiarov <igor.degtiarov@raccoongang.com>
This commit is contained in:
6
package-lock.json
generated
6
package-lock.json
generated
@@ -1383,9 +1383,9 @@
|
||||
}
|
||||
},
|
||||
"@edx/frontend-lib-special-exams": {
|
||||
"version": "1.8.3",
|
||||
"resolved": "https://registry.npmjs.org/@edx/frontend-lib-special-exams/-/frontend-lib-special-exams-1.8.3.tgz",
|
||||
"integrity": "sha512-062mLzG0jzAjgfIi6ARG9kcI4RbarsjYmB71p1hsD6x5uBDBulb1biAbj+x3HmDCKc8k6+/4cMvzKpN+Z1Vxwg==",
|
||||
"version": "1.9.0",
|
||||
"resolved": "https://registry.npmjs.org/@edx/frontend-lib-special-exams/-/frontend-lib-special-exams-1.9.0.tgz",
|
||||
"integrity": "sha512-dG9iW/vru/6Rh9+1kkqDu3gdiSVF49/9JvdjPb+7H1mdZPs4/FdP43HicPgaJ4r6PKfd9Ssam+3rq1NhxpWzvw==",
|
||||
"requires": {
|
||||
"@fortawesome/fontawesome-svg-core": "1.2.34",
|
||||
"@fortawesome/free-brands-svg-icons": "5.11.2",
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
"@edx/brand": "npm:@edx/brand-openedx@1.1.0",
|
||||
"@edx/frontend-component-footer": "10.1.5",
|
||||
"@edx/frontend-enterprise": "4.2.3",
|
||||
"@edx/frontend-lib-special-exams": "1.8.3",
|
||||
"@edx/frontend-lib-special-exams": "1.9.0",
|
||||
"@edx/frontend-platform": "1.11.0",
|
||||
"@edx/paragon": "15.2.2",
|
||||
"@fortawesome/fontawesome-svg-core": "1.2.34",
|
||||
|
||||
@@ -2,6 +2,7 @@ import React, { useEffect } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { useDispatch, useSelector } from 'react-redux';
|
||||
import { useParams } from 'react-router-dom';
|
||||
import { OuterExamTimer } from '@edx/frontend-lib-special-exams';
|
||||
|
||||
import TabPage from './TabPage';
|
||||
|
||||
@@ -34,6 +35,7 @@ export default function TabContainer(props) {
|
||||
courseStatus={courseStatus}
|
||||
metadataModel={`${slice}Meta`}
|
||||
>
|
||||
{courseId && <OuterExamTimer courseId={courseId} />}
|
||||
{children}
|
||||
</TabPage>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user