Use HelpTexts for sync levels in applications

pull/1779/head
Bogdan 1 year ago
parent 1488fb7570
commit 146e7ca7b6

@ -102,7 +102,10 @@ function EditApplicationModalContent(props) {
type={inputTypes.SELECT} type={inputTypes.SELECT}
values={syncLevelOptions} values={syncLevelOptions}
name="syncLevel" name="syncLevel"
helpText={`${translate('SyncLevelAddRemove')}<br>${translate('SyncLevelFull')}`} helpTexts={[
translate('SyncLevelAddRemove'),
translate('SyncLevelFull')
]}
{...syncLevel} {...syncLevel}
onChange={onInputChange} onChange={onInputChange}
/> />

@ -82,9 +82,10 @@ function ManageApplicationsEditModalContent(
name="syncLevel" name="syncLevel"
value={syncLevel} value={syncLevel}
values={syncLevelOptions} values={syncLevelOptions}
helpText={`${translate('SyncLevelAddRemove')}<br>${translate( helpTexts={[
'SyncLevelFull' translate('SyncLevelAddRemove'),
)}`} translate('SyncLevelFull'),
]}
onChange={onInputChange} onChange={onInputChange}
/> />
</FormGroup> </FormGroup>

Loading…
Cancel
Save