mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
Hide menu to users with no mailbox
This commit is contained in:
@@ -34,13 +34,13 @@ const userSettingsMenuItems = computed(() => {
|
||||
to: { name: 'AccountFilters' },
|
||||
icon: 'mdi-filter',
|
||||
})
|
||||
}
|
||||
for (const app of applications.value) {
|
||||
result.push({
|
||||
icon: appIcons[app.name],
|
||||
text: app.label,
|
||||
to: { name: 'AccountParametersEdit', params: { app: app.name } },
|
||||
})
|
||||
for (const app of applications.value) {
|
||||
result.push({
|
||||
icon: appIcons[app.name],
|
||||
text: app.label,
|
||||
to: { name: 'AccountParametersEdit', params: { app: app.name } },
|
||||
})
|
||||
}
|
||||
}
|
||||
return result
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user