21 lines
871 B
TypeScript
21 lines
871 B
TypeScript
import { Component, ViewContainerRef } from '@angular/core';
|
|
import { RouterHistoryService } from '@services/router-history.service';
|
|
import { UserService } from '@services/user.service';
|
|
import { REDDocumentViewer } from './modules/pdf-viewer/services/document-viewer.service';
|
|
|
|
@Component({
|
|
selector: 'redaction-root',
|
|
templateUrl: './app.component.html',
|
|
styleUrls: ['./app.component.scss'],
|
|
})
|
|
export class AppComponent {
|
|
// ViewContainerRef needs to be injected for the color picker to work
|
|
// RouterHistoryService needs to be injected for last dossiers screen to be updated on first app load
|
|
constructor(
|
|
public viewContainerRef: ViewContainerRef,
|
|
private readonly _routerHistoryService: RouterHistoryService,
|
|
private readonly _userService: UserService,
|
|
readonly documentViewer: REDDocumentViewer,
|
|
) {}
|
|
}
|