From 3187adcc2004f3fef0756f106b6fb104dd668ca6 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 30 Dec 2019 16:35:42 -0500 Subject: [PATCH] LP1852782 Vandelay MARC editor module repair With the addition of Fast Add item support, the MARC editor requires access to the HoldingsModule, which was not importe directly into Vandelay, unlike the catalog. This patch tells the MARC editor to import the module itself. Fixes: QueuedRecordComponent.html:22 NullInjectorError: StaticInjectorError(BaseModule)[MarcEditorComponent -> HoldingsService]: StaticInjectorError(Platform: core)[MarcEditorComponent -> HoldingsService]: NullInjectorError: No provider for HoldingsService! Signed-off-by: Bill Erickson Signed-off-by: Jane Sandberg --- Open-ILS/src/eg2/src/app/staff/share/marc-edit/marc-edit.module.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/eg2/src/app/staff/share/marc-edit/marc-edit.module.ts b/Open-ILS/src/eg2/src/app/staff/share/marc-edit/marc-edit.module.ts index d9d2febe9f..4f2a39f341 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/marc-edit/marc-edit.module.ts +++ b/Open-ILS/src/eg2/src/app/staff/share/marc-edit/marc-edit.module.ts @@ -11,6 +11,7 @@ import {EditableContentComponent} from './editable-content.component'; import {AuthorityLinkingDialogComponent} from './authority-linking-dialog.component'; import {MarcEditorDialogComponent} from './editor-dialog.component'; import {PhysCharDialogComponent} from './phys-char-dialog.component'; +import {HoldingsModule} from '@eg/staff/share/holdings/holdings.module'; @NgModule({ declarations: [ @@ -26,7 +27,8 @@ import {PhysCharDialogComponent} from './phys-char-dialog.component'; ], imports: [ StaffCommonModule, - CommonWidgetsModule + CommonWidgetsModule, + HoldingsModule ], exports: [ MarcEditorComponent -- 2.11.0