aboutsummaryrefslogtreecommitdiff
path: root/modern/src/settings/MaintenancePage.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-23 07:30:04 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-23 07:30:04 -0700
commite7e8d1c9a52b9b82fdcbf2d4d6f3134698eb0cf0 (patch)
tree4249ebb4305bf6ec28bf54ba9d009494e018bc61 /modern/src/settings/MaintenancePage.js
parent85461684eb402d4df62c8b59e0a0f627bd3487c1 (diff)
downloadtrackermap-web-e7e8d1c9a52b9b82fdcbf2d4d6f3134698eb0cf0.tar.gz
trackermap-web-e7e8d1c9a52b9b82fdcbf2d4d6f3134698eb0cf0.tar.bz2
trackermap-web-e7e8d1c9a52b9b82fdcbf2d4d6f3134698eb0cf0.zip
Convert to outline inputs
Diffstat (limited to 'modern/src/settings/MaintenancePage.js')
-rw-r--r--modern/src/settings/MaintenancePage.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/modern/src/settings/MaintenancePage.js b/modern/src/settings/MaintenancePage.js
index 292e197e..599d600d 100644
--- a/modern/src/settings/MaintenancePage.js
+++ b/modern/src/settings/MaintenancePage.js
@@ -129,9 +129,9 @@ const MaintenancePage = () => {
value={item.name || ''}
onChange={(event) => setItem({ ...item, name: event.target.value })}
label={t('sharedName')}
- variant="filled"
+
/>
- <FormControl variant="filled" margin="normal" fullWidth>
+ <FormControl margin="normal" fullWidth>
<InputLabel>{t('sharedType')}</InputLabel>
<Select
value={item.type || ''}
@@ -148,7 +148,7 @@ const MaintenancePage = () => {
value={rawToValue(item.start) || ''}
onChange={(event) => setItem({ ...item, start: valueToRaw(event.target.value) })}
label={t('maintenanceStart')}
- variant="filled"
+
InputProps={{
endAdornment: <InputAdornment position="start">{labels.start}</InputAdornment>,
}}
@@ -159,7 +159,7 @@ const MaintenancePage = () => {
value={rawToValue(item.period) || ''}
onChange={(event) => setItem({ ...item, period: valueToRaw(event.target.value) })}
label={t('maintenancePeriod')}
- variant="filled"
+
InputProps={{
endAdornment: <InputAdornment position="start">{labels.period}</InputAdornment>,
}}