From cdeccf33b3368d0d1bc7bfffefaa81945fb7852e Mon Sep 17 00:00:00 2001 From: vato007 Date: Tue, 13 May 2025 21:01:44 +0930 Subject: [PATCH] Fix enum message using configuration rather than protoname in json output --- src/app/editor/proto-field/proto-field.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/editor/proto-field/proto-field.component.ts b/src/app/editor/proto-field/proto-field.component.ts index 4a1fca2..0446915 100644 --- a/src/app/editor/proto-field/proto-field.component.ts +++ b/src/app/editor/proto-field/proto-field.component.ts @@ -77,7 +77,7 @@ import { StringFieldComponent } from '../string-field/string-field.component'; None @for(option of enumConfiguration().options; track option) { - {{ + {{ option.friendlyName || option.protoName }} }