From: Bill Erickson Date: Mon, 30 Dec 2019 21:35:42 +0000 (-0500) Subject: LP1852782 Vandelay MARC editor module repair X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=3187adcc2004f3fef0756f106b6fb104dd668ca6;p=contrib%2FConifer.git 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 --- 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