fix: xblock error mfe unit preview (#1508)

* feat: add functionality to see unit draft preview

* fix: course redirect unit to sequnce unit redirect

* fix: not showing preview when masquerading

* feat: in preview fetch draft branch of sequence metadata
This commit is contained in:
Kristin Aoki
2024-11-01 13:22:24 -04:00
committed by GitHub
parent 65343470e1
commit e337a367d1
7 changed files with 14 additions and 13 deletions

View File

@@ -168,7 +168,7 @@ class CoursewareContainer extends Component {
checkFetchSequence = memoize((sequenceId) => {
if (sequenceId) {
this.props.fetchSequence(sequenceId);
this.props.fetchSequence(sequenceId, this.props.isPreview);
}
});