Fixed manual annotation service provider
This commit is contained in:
parent
891ebc6c79
commit
b2a08b4dbe
@ -13,6 +13,7 @@ import { SharedDossiersModule } from './shared/shared-dossiers.module';
|
||||
import { ResizeAnnotationDialogComponent } from './dialogs/resize-annotation-dialog/resize-annotation-dialog.component';
|
||||
import { HighlightActionDialogComponent } from './screens/file-preview-screen/dialogs/highlight-action-dialog/highlight-action-dialog.component';
|
||||
import { ColorPickerModule } from 'ngx-color-picker';
|
||||
import { ManualAnnotationService } from './services/manual-annotation.service';
|
||||
|
||||
const dialogs = [
|
||||
ManualAnnotationDialogComponent,
|
||||
@ -24,6 +25,8 @@ const dialogs = [
|
||||
HighlightActionDialogComponent,
|
||||
];
|
||||
|
||||
const services = [ManualAnnotationService];
|
||||
|
||||
@NgModule({
|
||||
declarations: [...dialogs],
|
||||
imports: [
|
||||
@ -35,5 +38,6 @@ const dialogs = [
|
||||
OverlayModule,
|
||||
ColorPickerModule,
|
||||
],
|
||||
providers: [...services],
|
||||
})
|
||||
export class DossiersModule {}
|
||||
|
||||
@ -31,7 +31,6 @@ export const filePreviewScreenProviders = [
|
||||
AnnotationReferencesService,
|
||||
PageRotationService,
|
||||
PdfViewer,
|
||||
ManualAnnotationService,
|
||||
AnnotationProcessingService,
|
||||
dossiersServiceProvider,
|
||||
];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user