MDL-73298 theme_boost: remove secondary nav from componentlibrary

This commit is contained in:
Bas Brands 2021-12-07 10:08:08 +01:00
parent 51149a78cc
commit 83a41d7056

View File

@ -76,6 +76,7 @@ $PAGE->set_title($title);
$PAGE->requires->css($cssfile);
$jsonfile = new moodle_url('/admin/tool/componentlibrary/hugo/site/data/my-index.json');
$PAGE->requires->js_call_amd('tool_componentlibrary/loader', 'init', ['jsonfile' => $jsonfile->out()]);
$PAGE->has_secondary_navigation_setter(false);
if (get_config('core', 'allowthemechangeonurl')) {
$themes = core_component::get_plugin_list('theme');