diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-06 15:05:31 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-06 15:05:31 -0700 |
commit | fa1bec3ba4eea6654273e6ad920ef5d6a4c5dda4 (patch) | |
tree | eef213f5d2030b3bfa3db07c07d5f6ca45ccb2b0 /modern/src | |
parent | 4e84fa64bfe7d92cd2eff6a0411140953dc3fdb9 (diff) | |
download | trackermap-web-fa1bec3ba4eea6654273e6ad920ef5d6a4c5dda4.tar.gz trackermap-web-fa1bec3ba4eea6654273e6ad920ef5d6a4c5dda4.tar.bz2 trackermap-web-fa1bec3ba4eea6654273e6ad920ef5d6a4c5dda4.zip |
Fix style issues
Diffstat (limited to 'modern/src')
-rw-r--r-- | modern/src/UserPage.js | 2 | ||||
-rw-r--r-- | modern/src/admin/ServerPage.js | 2 | ||||
-rw-r--r-- | modern/src/attributes/useUserAttributes.js | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/modern/src/UserPage.js b/modern/src/UserPage.js index 89e04dde..cb643b8a 100644 --- a/modern/src/UserPage.js +++ b/modern/src/UserPage.js @@ -123,7 +123,7 @@ const UserPage = () => { <SelectField margin="normal" value={item.attributes.timezone || ''} - emptyValue={''} + emptyValue="" onChange={(e) => setItem({ ...item, attributes: { ...item.attributes, timezone: e.target.value } })} endpoint="/api/server/timezones" keyGetter={(it) => it} diff --git a/modern/src/admin/ServerPage.js b/modern/src/admin/ServerPage.js index 139de08e..19a5c993 100644 --- a/modern/src/admin/ServerPage.js +++ b/modern/src/admin/ServerPage.js @@ -146,7 +146,7 @@ const ServerPage = () => { <SelectField margin="normal" value={item.attributes.timezone || ''} - emptyValue={''} + emptyValue="" onChange={(e) => setItem({ ...item, attributes: { ...item.attributes, timezone: e.target.value } })} endpoint="/api/server/timezones" keyGetter={(it) => it} diff --git a/modern/src/attributes/useUserAttributes.js b/modern/src/attributes/useUserAttributes.js index 9275596b..fa6d7d8f 100644 --- a/modern/src/attributes/useUserAttributes.js +++ b/modern/src/attributes/useUserAttributes.js @@ -5,7 +5,7 @@ export default (t) => useMemo(() => ({ name: t('attributeNotificationTokens'), type: 'string', }, - /*'web.liveRouteLength': { + /* 'web.liveRouteLength': { name: t('attributeWebLiveRouteLength'), type: 'number', }, @@ -44,5 +44,5 @@ export default (t) => useMemo(() => ({ 'ui.hidePositionAttributes': { name: t('attributeUiHidePositionAttributes'), type: 'string', - },*/ + }, */ }), [t]); |