mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-15 10:13:15 -05:00
18 lines
452 B
TypeScript
18 lines
452 B
TypeScript
import { Component } from '@angular/core';
|
|
import { SettingsService } from './services/settings.service';
|
|
|
|
@Component({
|
|
selector: 'app-root',
|
|
templateUrl: './app.component.html',
|
|
styleUrls: ['./app.component.scss']
|
|
})
|
|
export class AppComponent {
|
|
|
|
constructor (private settings: SettingsService) {
|
|
let anyWindow = (window as any)
|
|
anyWindow.pdfWorkerSrc = '/assets/js/pdf.worker.min.js';
|
|
this.settings.updateDarkModeSettings()
|
|
}
|
|
|
|
}
|