MDL-64438 block_recentlyaccessedcourses: Optionally show course category
[moodle.git] / blocks / recentlyaccessedcourses / templates / main.mustache
index 84e64d5..1a07260 100644 (file)
@@ -27,7 +27,7 @@
 }}
 
 <div id="block-recentlyaccessedcourses-{{uniqid}}" class="block-recentlyaccessedcourses block-cards" data-region="recentlyaccessedcourses"
-     data-userid="{{userid}}">
+        data-userid="{{userid}}" data-displaycoursecategory="{{displaycategories}}">
     <div class="container-fluid p-0">
         {{> block_recentlyaccessedcourses/recentlyaccessedcourses-view }}
     </div>