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 { ...@@ -52,12 +52,14 @@ export class HeaderRightComponent implements OnInit {
const component = shortcut.route.split('__'); const component = shortcut.route.split('__');
if (component.length === 2) { if (component.length === 2) {
this.dialog.open(RegisteredMailImportComponent, { if (component[0] === 'RegisteredMailImportComponent') {
disableClose: true, this.dialog.open(RegisteredMailImportComponent, {
width: '99vw', disableClose: true,
maxWidth: '99vw', width: '99vw',
panelClass: 'maarch-full-height-modal' maxWidth: '99vw',
}); panelClass: 'maarch-full-height-modal'
});
}
} else { } else {
this.router.navigate([shortcut.route]); this.router.navigate([shortcut.route]);
} }
......
...@@ -535,7 +535,7 @@ export class PrivilegeService { ...@@ -535,7 +535,7 @@ export class PrivilegeService {
'id': 'registered_mail_mass_import', 'id': 'registered_mail_mass_import',
'label': 'lang.importRegisteredMails', 'label': 'lang.importRegisteredMails',
'comment': 'lang.importRegisteredMails', 'comment': 'lang.importRegisteredMails',
'route': 'administration/contact/list/import/contact-import.component__modal', 'route': 'RegisteredMailImportComponent__modal',
'style': 'fas fa-dolly-flatbed', 'style': 'fas fa-dolly-flatbed',
'unit': 'registeredMails', 'unit': 'registeredMails',
'angular': true, '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