Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[frontend] Small fix on chaining UI #1448

Merged
merged 2 commits into from
Sep 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -184,15 +184,15 @@ const InjectForm = ({
})}
</Select>
</FormControl>
<FormControl style={{ width: '100%' }}>
<FormControl style={{ width: '100%', marginTop: '15px' }}>
<InputLabel id="condition">{t('Condition')}</InputLabel>
<Select
labelId="condition"
value={'Success'}
fullWidth={true}
disabled
>
<MenuItem value="Success">{t('Success')}</MenuItem>
<MenuItem value="Success">{t('Execution successful')}</MenuItem>
</Select>
</FormControl>
</AccordionDetails>
Expand Down Expand Up @@ -266,7 +266,7 @@ const InjectForm = ({
fullWidth={true}
disabled
>
<MenuItem value="Success">{t('Success')}</MenuItem>
<MenuItem value="Success">{t('Execution successful')}</MenuItem>
</Select>
</FormControl>
</AccordionDetails>
Expand Down
2 changes: 2 additions & 0 deletions openbas-front/src/utils/Localization.js
Original file line number Diff line number Diff line change
Expand Up @@ -1352,6 +1352,7 @@ const i18n = {
Condition: 'Condition',
Childrens: 'Enfants',
'Interactive view': 'Vue interactive',
'Execution successful': 'Exécution réussie',
},
zh: {
'Email address': 'email地址',
Expand Down Expand Up @@ -2611,6 +2612,7 @@ const i18n = {
Condition: '条件',
Childrens: '儿童',
'Interactive view': '交互式视图',
'Execution successful': '执行成功',
},
en: {
openbas_email: 'Email',
Expand Down
Loading