mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-24 02:05:48 -06:00
Upgrade to Angular 16
update ngx-file-drop Update ng-bootstrap, ng-select, cookie-service and ui-tour Update setup-jest.ts bump typescript to 5.1.6 bump ngx-color and tslib
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import { CanDeactivate } from '@angular/router'
|
||||
import { Injectable } from '@angular/core'
|
||||
import { Observable } from 'rxjs'
|
||||
|
||||
@@ -7,7 +6,7 @@ export interface ComponentCanDeactivate {
|
||||
}
|
||||
|
||||
@Injectable()
|
||||
export class DirtyDocGuard implements CanDeactivate<ComponentCanDeactivate> {
|
||||
export class DirtyDocGuard {
|
||||
canDeactivate(
|
||||
component: ComponentCanDeactivate
|
||||
): boolean | Observable<boolean> {
|
||||
|
||||
Reference in New Issue
Block a user