|
|
@@ -30,22 +30,22 @@ class ParametersMenu extends BaseMenu implements Menu {
|
|
|
const children: ItemsMenu = []
|
|
|
|
|
|
if (this.$ability.can('display', 'parameters_page')) {
|
|
|
- children.push(this.constructMenu('general_params', 'fa-cogs',`/parameters`, false))
|
|
|
+ children.push(this.constructMenu('general_params', {name: 'fa-cogs'},`/parameters`, false))
|
|
|
}
|
|
|
if (this.$ability.can('display', 'parameters_communication_page')) {
|
|
|
- children.push(this.constructMenu('communication_params', 'fa-comments',`/parameters/communication`, false))
|
|
|
+ children.push(this.constructMenu('communication_params', {name: 'fa-comments'},`/parameters/communication`, false))
|
|
|
}
|
|
|
if (this.$ability.can('display', 'parameters_student_page')) {
|
|
|
- children.push(this.constructMenu('students_params', 'fa-users',`/parameters/student`, false))
|
|
|
+ children.push(this.constructMenu('students_params', {name: 'fa-users'},`/parameters/student`, false))
|
|
|
}
|
|
|
if (this.$ability.can('display', 'parameters_education_page')) {
|
|
|
- children.push(this.constructMenu('education_params', 'fa-graduation-cap',`/parameters/education`, false))
|
|
|
+ children.push(this.constructMenu('education_params', {name: 'fa-graduation-cap'},`/parameters/education`, false))
|
|
|
}
|
|
|
if (this.$ability.can('display', 'parameters_bills_page')) {
|
|
|
- children.push(this.constructMenu('bills_params', 'fa-euro-sign',`/parameters/billing`, false))
|
|
|
+ children.push(this.constructMenu('bills_params', {name: 'fa-euro-sign'},`/parameters/billing`, false))
|
|
|
}
|
|
|
if (this.$ability.can('display', 'parameters_secure_page')) {
|
|
|
- children.push(this.constructMenu('secure_params', 'fa-lock',`/parameters/secure`, false))
|
|
|
+ children.push(this.constructMenu('secure_params', {name: 'fa-lock'},`/parameters/secure`, false))
|
|
|
}
|
|
|
|
|
|
if (children.length > 0) {
|