Skip to content
Snippets Groups Projects
Commit ce3ec013 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FEAT #14002 TIME 0:05 fix modal menu

parent 11e2533c
No related branches found
No related tags found
No related merge requests found
......@@ -52,12 +52,14 @@ export class HeaderRightComponent implements OnInit {
const component = shortcut.route.split('__');
if (component.length === 2) {
this.dialog.open(RegisteredMailImportComponent, {
disableClose: true,
width: '99vw',
maxWidth: '99vw',
panelClass: 'maarch-full-height-modal'
});
if (component[0] === 'RegisteredMailImportComponent') {
this.dialog.open(RegisteredMailImportComponent, {
disableClose: true,
width: '99vw',
maxWidth: '99vw',
panelClass: 'maarch-full-height-modal'
});
}
} else {
this.router.navigate([shortcut.route]);
}
......
......@@ -535,7 +535,7 @@ export class PrivilegeService {
'id': 'registered_mail_mass_import',
'label': 'lang.importRegisteredMails',
'comment': 'lang.importRegisteredMails',
'route': 'administration/contact/list/import/contact-import.component__modal',
'route': 'RegisteredMailImportComponent__modal',
'style': 'fas fa-dolly-flatbed',
'unit': 'registeredMails',
'angular': true,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment