Refactor dashboard page
This commit is contained in:
parent
dc6c645c46
commit
41c48bed9d
|
|
@ -72,17 +72,9 @@ function newDashboardConfigForId(id: string): DashboardCourseConfigType | undefi
|
||||||
<!-- keep until we unify the dashboard -->
|
<!-- keep until we unify the dashboard -->
|
||||||
<CoursePanel
|
<CoursePanel
|
||||||
v-if="
|
v-if="
|
||||||
dashboardStore.currentDashboardConfig.dashboard_type ===
|
['PRAXISBILDNER_DASHBOARD', 'PROGRESS_DASHBOARD'].includes(
|
||||||
'PRAXISBILDNER_DASHBOARD'
|
dashboardStore.currentDashboardConfig.dashboard_type
|
||||||
"
|
)
|
||||||
:course-config="
|
|
||||||
newDashboardConfigForId(dashboardStore.currentDashboardConfig.id)
|
|
||||||
"
|
|
||||||
/>
|
|
||||||
<CoursePanel
|
|
||||||
v-else-if="
|
|
||||||
dashboardStore.currentDashboardConfig.dashboard_type ===
|
|
||||||
'PROGRESS_DASHBOARD'
|
|
||||||
"
|
"
|
||||||
:course-config="
|
:course-config="
|
||||||
newDashboardConfigForId(dashboardStore.currentDashboardConfig.id)
|
newDashboardConfigForId(dashboardStore.currentDashboardConfig.id)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue