|
|
@@ -34,31 +34,31 @@ class AccountMenu extends BaseMenu implements Menu {
|
|
|
}
|
|
|
|
|
|
if (this.$ability.can('display', 'attendance_bookings_page')) {
|
|
|
- children.push(this.constructMenu('attendance_bookings_menu', undefined, '/attendance_bookings', true))
|
|
|
+ children.push(this.constructMenu('attendance_bookings_menu', undefined, '/own_attendance', true))
|
|
|
}
|
|
|
|
|
|
if (this.$ability.can('display', 'my_attendance_page')) {
|
|
|
- children.push(this.constructMenu('my_attendance', undefined, '/my_attendances/list', true))
|
|
|
+ children.push(this.constructMenu('my_attendance', undefined, '/my_attendances/list/', true))
|
|
|
}
|
|
|
|
|
|
if (this.$ability.can('display', 'my_invitation_page')) {
|
|
|
- children.push(this.constructMenu('my_invitation', undefined, '/my_invitations/list', true))
|
|
|
+ children.push(this.constructMenu('my_invitation', undefined, '/my_invitations/list/', true))
|
|
|
}
|
|
|
|
|
|
if (this.$ability.can('display', 'my_students_page')) {
|
|
|
- children.push(this.constructMenu('my_students', undefined, '/my_students/list', true))
|
|
|
+ children.push(this.constructMenu('my_students', undefined, '/my_students/list/', true))
|
|
|
}
|
|
|
|
|
|
if (this.$ability.can('display', 'my_students_education_students_page')) {
|
|
|
- children.push(this.constructMenu('my_students_education_students', undefined, '/my_students_education_students/list', true))
|
|
|
+ children.push(this.constructMenu('my_students_education_students', undefined, '/my_students_education_students/list/', true))
|
|
|
}
|
|
|
|
|
|
if (this.$ability.can('display', 'criteria_notations_page') || this.$ability.can('display', 'criteria_notations_page_from_account_menu')) {
|
|
|
- children.push(this.constructMenu('criteria_notations', undefined, '/criteria_notations/list', true))
|
|
|
+ children.push(this.constructMenu('criteria_notations', undefined, '/criteria_notations/list/', true))
|
|
|
}
|
|
|
|
|
|
if (this.$ability.can('display', 'my_education_students_page')) {
|
|
|
- children.push(this.constructMenu('my_education_students', undefined, `/main/my_profile/${this.$store.state.profile.access.id}/dashboard/my_education_students/list`, true))
|
|
|
+ children.push(this.constructMenu('my_education_students', undefined, `/main/my_profile/${this.$store.state.profile.access.id}/dashboard/my_education_students/list/`, true))
|
|
|
}
|
|
|
|
|
|
if (this.$ability.can('display', 'send_an_email_page')) {
|
|
|
@@ -86,7 +86,7 @@ class AccountMenu extends BaseMenu implements Menu {
|
|
|
}
|
|
|
|
|
|
if (this.$ability.can('display', 'cmf_licence_page')) {
|
|
|
- children.push(this.constructMenu('print_my_licence', undefined, `/licence-cmf`, true))
|
|
|
+ children.push(this.constructMenu('print_my_licence', undefined, `/licence_cmf/user`, true))
|
|
|
}
|
|
|
|
|
|
const accountMenu = this.constructMenu('my_account', 'fa-user', undefined, undefined, children, false)
|