From 2b9775bda10ae827d449fa253f8ad07edca2254a Mon Sep 17 00:00:00 2001 From: Joseph Garrone Date: Thu, 24 Oct 2024 01:13:22 +0200 Subject: [PATCH] Enums: Explicitely state empty strings --- .../launcher/RootFormComponent/formFields/SelectFormField.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/ui/pages/launcher/RootFormComponent/formFields/SelectFormField.tsx b/web/src/ui/pages/launcher/RootFormComponent/formFields/SelectFormField.tsx index cdf253765..89f23d9ce 100644 --- a/web/src/ui/pages/launcher/RootFormComponent/formFields/SelectFormField.tsx +++ b/web/src/ui/pages/launcher/RootFormComponent/formFields/SelectFormField.tsx @@ -68,7 +68,7 @@ export const SelectFormField = memo((props: Props) => { {(() => { if (typeof option === "string") { - return option; + return option === "" ? "(Empty string)" : option; } return
{JSON.stringify(option, null, 2)}
;