From 00535837e434b980f5687fe40d734f23fd483b19 Mon Sep 17 00:00:00 2001 From: Jason Etheridge Date: Wed, 14 Dec 2022 00:51:57 -0500 Subject: [PATCH] allow override of IDL class label for display in the FM editor --- 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 8c1f5ba6ae..25c7b6a5d7 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 @@ -271,7 +271,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