fix: make breadcrumbs limiting accessible to audit (#655)
This commit is contained in:
@@ -19,7 +19,7 @@ function CourseBreadcrumb({
|
|||||||
content, withSeparator,
|
content, withSeparator,
|
||||||
}) {
|
}) {
|
||||||
const defaultContent = content.filter(destination => destination.default)[0];
|
const defaultContent = content.filter(destination => destination.default)[0];
|
||||||
const { administrator } = getAuthenticatedUser();
|
const administrator = getAuthenticatedUser() ? getAuthenticatedUser().administrator : false;
|
||||||
function logEvent(target) {
|
function logEvent(target) {
|
||||||
const eventName = 'edx.ui.lms.jump_nav.selected';
|
const eventName = 'edx.ui.lms.jump_nav.selected';
|
||||||
const payload = {
|
const payload = {
|
||||||
|
|||||||
Reference in New Issue
Block a user