aboutsummaryrefslogtreecommitdiff
path: root/modern
diff options
context:
space:
mode:
Diffstat (limited to 'modern')
-rw-r--r--modern/src/UserPage.js2
-rw-r--r--modern/src/admin/ServerPage.js2
-rw-r--r--modern/src/attributes/useUserAttributes.js4
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]);