aboutsummaryrefslogtreecommitdiff
path: root/modern/src/attributes/EditAttributesView.js
diff options
context:
space:
mode:
authorDesmond Kyeremeh <elDekyfin@gmail.com>2021-07-12 03:30:34 +0000
committerDesmond Kyeremeh <elDekyfin@gmail.com>2021-07-12 03:30:34 +0000
commitf60983a4131862db0125844a651b994d2212022d (patch)
treec44ef60f3c37dbfc286ff3f4111f10a08b7d7b4f /modern/src/attributes/EditAttributesView.js
parenta7e1b5f5fd772d37f9777fec097f28411f13562f (diff)
downloadetbsa-traccar-web-f60983a4131862db0125844a651b994d2212022d.tar.gz
etbsa-traccar-web-f60983a4131862db0125844a651b994d2212022d.tar.bz2
etbsa-traccar-web-f60983a4131862db0125844a651b994d2212022d.zip
Restored styling
Diffstat (limited to 'modern/src/attributes/EditAttributesView.js')
-rw-r--r--modern/src/attributes/EditAttributesView.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/modern/src/attributes/EditAttributesView.js b/modern/src/attributes/EditAttributesView.js
index e8d427b..e38c02a 100644
--- a/modern/src/attributes/EditAttributesView.js
+++ b/modern/src/attributes/EditAttributesView.js
@@ -43,8 +43,7 @@ const EditAttributesView = ({ attributes, setAttributes, definitions }) => {
const getAttributeType = (value) => {
if (typeof value === 'number') {
return 'number';
- }
- if (typeof value === 'boolean') {
+ } if (typeof value === 'boolean') {
return 'boolean';
}
return 'string';