mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-08-07 17:48:27 +00:00
[ACA] Dialogs - close on navigation by default (#634)
* close modals on navigation by default * lint * modals effect and action * add to store module * register in module * close modals if auth fails * rename action * change dialog selector
This commit is contained in:
committed by
Denys Vuika
parent
eb97b18f95
commit
2f4048a859
@@ -31,7 +31,8 @@ import {
|
||||
MatDialogModule,
|
||||
MatInputModule,
|
||||
MatSnackBarModule,
|
||||
MatProgressBarModule
|
||||
MatProgressBarModule,
|
||||
MAT_DIALOG_DEFAULT_OPTIONS
|
||||
} from '@angular/material';
|
||||
|
||||
@NgModule({
|
||||
@@ -52,6 +53,12 @@ import {
|
||||
MatInputModule,
|
||||
MatSnackBarModule,
|
||||
MatProgressBarModule
|
||||
],
|
||||
providers: [
|
||||
{
|
||||
provide: MAT_DIALOG_DEFAULT_OPTIONS,
|
||||
useValue: { closeOnNavigation: true, hasBackdrop: true }
|
||||
}
|
||||
]
|
||||
})
|
||||
export class MaterialModule {}
|
||||
|
Reference in New Issue
Block a user