mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-09 08:15:27 +01:00
Merge branch 'dev' into feature-websockets-status
This commit is contained in:
commit
9f9581e1f8
257 changed files with 18414 additions and 3310 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import { SettingsService } from './services/settings.service';
|
||||
import { Component, OnDestroy, OnInit } from '@angular/core';
|
||||
import { Router } from '@angular/router';
|
||||
import { Subscription } from 'rxjs';
|
||||
|
|
@ -13,8 +14,11 @@ export class AppComponent implements OnInit, OnDestroy {
|
|||
|
||||
successSubscription: Subscription;
|
||||
failedSubscription: Subscription;
|
||||
|
||||
constructor ( private consumerStatusService: ConsumerStatusService, private toastService: ToastService, private router: Router ) {
|
||||
|
||||
constructor (private settings: SettingsService, private consumerStatusService: ConsumerStatusService, private toastService: ToastService, private router: Router) {
|
||||
let anyWindow = (window as any)
|
||||
anyWindow.pdfWorkerSrc = '/assets/js/pdf.worker.min.js';
|
||||
this.settings.updateDarkModeSettings()
|
||||
}
|
||||
|
||||
ngOnDestroy(): void {
|
||||
|
|
@ -38,6 +42,6 @@ export class AppComponent implements OnInit, OnDestroy {
|
|||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue