mirror of https://github.com/abpframework/abp.git
Browse Source
Created a new token named SUPPRESS_UNSAVED_CHANGES_WARNING to suppress unsaved changes warning popup on save formspull/6290/head
committed by
GitHub
3 changed files with 16 additions and 1 deletions
@ -1,3 +1,4 @@ |
|||
export * from './append-content.token'; |
|||
export * from './http-error.token'; |
|||
export * from './lazy-styles.token'; |
|||
export * from './suppress-unsaved-changes-warning.token'; |
|||
|
|||
@ -0,0 +1,6 @@ |
|||
import { InjectionToken } from '@angular/core'; |
|||
|
|||
// TODO: Should be documented
|
|||
export const SUPPRESS_UNSAVED_CHANGES_WARNING = new InjectionToken<boolean>( |
|||
'SUPPRESS_UNSAVED_CHANGES_WARNING', |
|||
); |
|||
Loading…
Reference in new issue