[+] Show course page only if select tab is a course

This commit is contained in:
Hykilpikonna
2019-10-14 18:27:37 -04:00
parent 0e30954f6e
commit a074a9fbed
+3 -3
View File
@@ -7,10 +7,10 @@
</navigation>
<div id="app-content">
<overall :courses="filteredCourses"
v-if="selectedTab === 'overall' && assignmentsReady">
<overall v-if="selectedTab === 'overall' && assignmentsReady"
:courses="filteredCourses">
</overall>
<course-page></course-page>
<course-page v-if="selectedTab.split('/')[0] === 'course'"></course-page>
</div>
<loading v-if="loading !== ''" :text="loading" :error="loadingError"></loading>