mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-25 00:24:35 +00:00
stud & lv verwaltung: add component to each route (childroutes should inherit those but a warning is thrown)
This commit is contained in:
@@ -16,8 +16,8 @@ const router = VueRouter.createRouter({
|
||||
path: '/stdsem/:stdsem',
|
||||
component: LVVerwaltung,
|
||||
children: [
|
||||
{ name: 'emp', path: 'emp/:emp/:treemenu(.*)*' },
|
||||
{ name: 'treemenu', path: ':treemenu(.*)*' }
|
||||
{ name: 'emp', path: 'emp/:emp/:treemenu(.*)*', component: LVVerwaltung },
|
||||
{ name: 'treemenu', path: ':treemenu(.*)*', component: LVVerwaltung }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -34,13 +34,14 @@ const router = VueRouter.createRouter({
|
||||
{
|
||||
name: 'stdsem',
|
||||
path: 'stdsem/:stdsem',
|
||||
component: FhcStudentenverwaltung,
|
||||
children: [
|
||||
{ name: 'search', path: 'search/:query' },
|
||||
{ name: 'searchtypes', path: 'search/:types/:query' },
|
||||
{ name: 'prestudent', path: 'prestudent/:prestudent_id' },
|
||||
{ name: 'student', path: 'student/:student_uid' },
|
||||
{ name: 'person', path: 'person/:person_id' },
|
||||
{ name: 'treemenu', path: ':treemenu(.*)*' }
|
||||
{ name: 'search', path: 'search/:query', component: FhcStudentenverwaltung },
|
||||
{ name: 'searchtypes', path: 'search/:types/:query', component: FhcStudentenverwaltung },
|
||||
{ name: 'prestudent', path: 'prestudent/:prestudent_id', component: FhcStudentenverwaltung },
|
||||
{ name: 'student', path: 'student/:student_uid', component: FhcStudentenverwaltung },
|
||||
{ name: 'person', path: 'person/:person_id', component: FhcStudentenverwaltung },
|
||||
{ name: 'treemenu', path: ':treemenu(.*)*', component: FhcStudentenverwaltung },
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user