mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-01-16 22:04:21 -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 { first, Observable, Subject } from 'rxjs'
|
||||
import { DocumentListComponent } from '../components/document-list/document-list.component'
|
||||
@@ -8,9 +7,7 @@ import { SettingsService } from '../services/settings.service'
|
||||
import { SETTINGS_KEYS } from '../data/paperless-uisettings'
|
||||
|
||||
@Injectable()
|
||||
export class DirtySavedViewGuard
|
||||
implements CanDeactivate<DocumentListComponent>
|
||||
{
|
||||
export class DirtySavedViewGuard {
|
||||
constructor(
|
||||
private modalService: NgbModal,
|
||||
private settings: SettingsService
|
||||
|
||||
Reference in New Issue
Block a user