Browse Source

feat(admin-ui): Export CanDeactivateDetailGuard

Can be used in UI extensions to easily implement a confirmation on navigation away from a detail view.
Michael Bromley 6 years ago
parent
commit
89c0699622
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/admin-ui/src/index.ts

+ 1 - 0
packages/admin-ui/src/index.ts

@@ -15,3 +15,4 @@ export { BaseDetailComponent } from './app/common/base-detail.component';
 export * from './app/core/providers/nav-builder/nav-builder-types';
 export * from './app/core/providers/custom-field-component/custom-field-component.service';
 export * from './app/shared/shared-declarations';
+export * from './app/shared/providers/routing/can-deactivate-detail-guard';