mirror of
https://github.com/Ku6epXBOCTuK/easy-png-tools.git
synced 2026-11-13 17:08:20 +00:00
fix: select mode via segmented button in split by parts
This commit is contained in:
@@ -25,7 +25,7 @@ function selectOptions(
|
||||
const spec = (
|
||||
field as { spec?: { kind?: string; options?: SelectOption[] } }
|
||||
).spec;
|
||||
if (spec?.kind !== "select") continue;
|
||||
if (spec?.kind !== "select" && spec?.kind !== "segmented") continue;
|
||||
for (const option of spec.options ?? []) result.push({ fieldId, option });
|
||||
}
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user