[+] Show course page only if select tab is a course
This commit is contained in:
@@ -7,10 +7,10 @@
|
|||||||
</navigation>
|
</navigation>
|
||||||
|
|
||||||
<div id="app-content">
|
<div id="app-content">
|
||||||
<overall :courses="filteredCourses"
|
<overall v-if="selectedTab === 'overall' && assignmentsReady"
|
||||||
v-if="selectedTab === 'overall' && assignmentsReady">
|
:courses="filteredCourses">
|
||||||
</overall>
|
</overall>
|
||||||
<course-page></course-page>
|
<course-page v-if="selectedTab.split('/')[0] === 'course'"></course-page>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<loading v-if="loading !== ''" :text="loading" :error="loadingError"></loading>
|
<loading v-if="loading !== ''" :text="loading" :error="loadingError"></loading>
|
||||||
|
|||||||
Reference in New Issue
Block a user