AA-501: Send query param to recheck access to xblocks for render (#335)

This commit is contained in:
Dillon Dumesnil
2021-01-06 06:49:25 -08:00
committed by GitHub
parent 92b364e0f8
commit 07b252ecc6
2 changed files with 2 additions and 2 deletions

View File

@@ -63,7 +63,7 @@ function Unit({
}) {
const { authenticatedUser } = useContext(AppContext);
const view = authenticatedUser ? 'student_view' : 'public_view';
let iframeUrl = `${getConfig().LMS_BASE_URL}/xblock/${id}?show_title=0&show_bookmark_button=0&view=${view}`;
let iframeUrl = `${getConfig().LMS_BASE_URL}/xblock/${id}?show_title=0&show_bookmark_button=0&recheck_access=1&view=${view}`;
if (format) {
iframeUrl += `&format=${format}`;
}