From e6767cfa1a6679609e3f901d6c56e660f554157f Mon Sep 17 00:00:00 2001 From: Jason Etheridge Date: Wed, 14 Dec 2022 00:51:57 -0500 Subject: [PATCH] lp1857911 allow override of IDL class label for display in the FM editor Signed-off-by: Jason Etheridge Signed-off-by: Jane Sandberg --- .../src/app/share/fm-editor/fm-editor.component.ts | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/share/fm-editor/fm-editor.component.ts b/Open-ILS/src/eg2/src/app/share/fm-editor/fm-editor.component.ts index 7328f08..4c6f801 100644 --- a/Open-ILS/src/eg2/src/app/share/fm-editor/fm-editor.component.ts +++ b/Open-ILS/src/eg2/src/app/share/fm-editor/fm-editor.component.ts @@ -276,7 +276,7 @@ export class FmRecordEditorComponent this.listifyInputs(); this.idlDef = this.idl.classes[this.idlClass]; - this.recordLabel = this.idlDef.label; + this.recordLabel = this.recordLabel || this.idlDef.label; // Add some randomness to the generated DOM IDs to ensure against clobbering this.idPrefix = 'fm-editor-' + Math.floor(Math.random() * 100000); -- 1.7.2.5