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 --- Open-ILS/src/eg2/src/app/share/fm-editor/fm-editor.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 7328f080c7..4c6f801395 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); -- 2.11.0