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 -->
|
||||
<CoursePanel
|
||||
v-if="
|
||||
dashboardStore.currentDashboardConfig.dashboard_type ===
|
||||
'PRAXISBILDNER_DASHBOARD'
|
||||
"
|
||||
:course-config="
|
||||
newDashboardConfigForId(dashboardStore.currentDashboardConfig.id)
|
||||
"
|
||||
/>
|
||||
<CoursePanel
|
||||
v-else-if="
|
||||
dashboardStore.currentDashboardConfig.dashboard_type ===
|
||||
'PROGRESS_DASHBOARD'
|
||||
['PRAXISBILDNER_DASHBOARD', 'PROGRESS_DASHBOARD'].includes(
|
||||
dashboardStore.currentDashboardConfig.dashboard_type
|
||||
)
|
||||
"
|
||||
:course-config="
|
||||
newDashboardConfigForId(dashboardStore.currentDashboardConfig.id)
|
||||
|
|
|
|||
Loading…
Reference in New Issue