MDL-57447 block_myoverview: add context for courses view
[moodle.git] / blocks / myoverview / templates / main.mustache
index 3732173..f9da733 100644 (file)
@@ -44,7 +44,9 @@
             {{> block_myoverview/timeline-view }}
         </div>
         <div role="tabpanel" class="tab-pane fade" id="myoverview_courses_view">
-            {{> block_myoverview/courses-view }}
+            {{#coursesview}}
+                {{> block_myoverview/courses-view }}
+            {{/coursesview}}
         </div>
     </div>
 </div>