Hide "old" dashboard content
This commit is contained in:
parent
41c48bed9d
commit
97dd952e4f
|
|
@ -70,20 +70,20 @@ function newDashboardConfigForId(id: string): DashboardCourseConfigType | undefi
|
|||
</ul>
|
||||
<!-- end of new way of dashboard -->
|
||||
<!-- keep until we unify the dashboard -->
|
||||
<CoursePanel
|
||||
v-if="
|
||||
['PRAXISBILDNER_DASHBOARD', 'PROGRESS_DASHBOARD'].includes(
|
||||
dashboardStore.currentDashboardConfig.dashboard_type
|
||||
)
|
||||
"
|
||||
:course-config="
|
||||
newDashboardConfigForId(dashboardStore.currentDashboardConfig.id)
|
||||
"
|
||||
/>
|
||||
<component
|
||||
:is="boards[dashboardStore.currentDashboardConfig.dashboard_type].main"
|
||||
v-else
|
||||
></component>
|
||||
<!-- <CoursePanel-->
|
||||
<!-- v-if="-->
|
||||
<!-- ['PRAXISBILDNER_DASHBOARD', 'PROGRESS_DASHBOARD'].includes(-->
|
||||
<!-- dashboardStore.currentDashboardConfig.dashboard_type-->
|
||||
<!-- )-->
|
||||
<!-- "-->
|
||||
<!-- :course-config="-->
|
||||
<!-- newDashboardConfigForId(dashboardStore.currentDashboardConfig.id)-->
|
||||
<!-- "-->
|
||||
<!-- />-->
|
||||
<!-- <component-->
|
||||
<!-- :is="boards[dashboardStore.currentDashboardConfig.dashboard_type].main"-->
|
||||
<!-- v-else-->
|
||||
<!-- ></component>-->
|
||||
<!-- end of old way of dashboard -->
|
||||
</div>
|
||||
</main>
|
||||
|
|
|
|||
Loading…
Reference in New Issue