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}
values={syncLevelOptions}
name="syncLevel"
helpText={`${translate('SyncLevelAddRemove')}<br>${translate('SyncLevelFull')}`}
helpTexts={[
translate('SyncLevelAddRemove'),
translate('SyncLevelFull')
]}
{...syncLevel}
onChange={onInputChange}
/>

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

Loading…
Cancel
Save