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> </ul>
<!-- end of new way of dashboard --> <!-- end of new way of dashboard -->
<!-- keep until we unify the dashboard --> <!-- keep until we unify the dashboard -->
<CoursePanel <!-- <CoursePanel-->
v-if=" <!-- v-if="-->
['PRAXISBILDNER_DASHBOARD', 'PROGRESS_DASHBOARD'].includes( <!-- ['PRAXISBILDNER_DASHBOARD', 'PROGRESS_DASHBOARD'].includes(-->
dashboardStore.currentDashboardConfig.dashboard_type <!-- dashboardStore.currentDashboardConfig.dashboard_type-->
) <!-- )-->
" <!-- "-->
:course-config=" <!-- :course-config="-->
newDashboardConfigForId(dashboardStore.currentDashboardConfig.id) <!-- newDashboardConfigForId(dashboardStore.currentDashboardConfig.id)-->
" <!-- "-->
/> <!-- />-->
<component <!-- <component-->
:is="boards[dashboardStore.currentDashboardConfig.dashboard_type].main" <!-- :is="boards[dashboardStore.currentDashboardConfig.dashboard_type].main"-->
v-else <!-- v-else-->
></component> <!-- ></component>-->
<!-- end of old way of dashboard --> <!-- end of old way of dashboard -->
</div> </div>
</main> </main>