Fix"Add" shortcut link in email address navigation (#1169)

Seems to have changed when adding the domain-filter overview for email addresses, but not updated in the navigation.
This commit is contained in:
Daniel
2023-08-13 14:19:32 +08:00
committed by GitHub
parent 47be4b2847
commit a7198f58ce

View File

@@ -38,7 +38,7 @@ return [
'url' => 'customer_email.php?page=emails', 'url' => 'customer_email.php?page=emails',
'label' => lng('menue.email.emails'), 'label' => lng('menue.email.emails'),
'required_resources' => 'emails', 'required_resources' => 'emails',
'add_shortlink' => CurrentUser::canAddResource('emails') ? 'customer_email.php?page=emails&action=add' : null, 'add_shortlink' => CurrentUser::canAddResource('emails') ? 'customer_email.php?page=email_domain&action=add' : null,
], ],
[ [
'url' => Settings::Get('panel.webmail_url'), 'url' => Settings::Get('panel.webmail_url'),