Feat: Remove unnecessary data from the dsl #9869 (#10177)

### What problem does this PR solve?
Feat: Remove unnecessary data from the dsl #9869

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-09-19 19:06:33 +08:00
committed by GitHub
parent 5dfdbcce3a
commit b5d6a6e8f2
25 changed files with 357 additions and 217 deletions

View File

@ -22,7 +22,7 @@ const Languages = [
'Vietnamese',
];
const options = Languages.map((x) => ({
export const crossLanguageOptions = Languages.map((x) => ({
label: t('language.' + toLower(x)),
value: x,
}));
@ -59,7 +59,7 @@ export const CrossLanguageFormField = ({
</FormLabel>
<FormControl>
<MultiSelect
options={options}
options={crossLanguageOptions}
placeholder={t('fileManager.pleaseSelect')}
maxCount={100}
{...field}