Hide "old" dashboard content

This commit is contained in:
Christian Cueni 2024-04-16 14:24:03 +02:00
parent 41c48bed9d
commit 97dd952e4f
1 changed files with 14 additions and 14 deletions

View File

@ -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>