From: Jason Etheridge Date: Wed, 14 Dec 2022 05:51:57 +0000 (-0500) Subject: allow override of IDL class label for display in the FM editor X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=00535837e434b980f5687fe40d734f23fd483b19;p=working%2FEvergreen.git allow override of IDL class label for display in the FM editor --- 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);