aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-08 16:52:30 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-08 16:52:30 -0700
commited99455abb6c73ded056ae3239cfce01a63ab76f (patch)
treeb710f7da180c2220ecd64d4c31610391a9a28702
parent176ef4d766fa4bbe230849190b8695380ad10822 (diff)
downloadtrackermap-web-ed99455abb6c73ded056ae3239cfce01a63ab76f.tar.gz
trackermap-web-ed99455abb6c73ded056ae3239cfce01a63ab76f.tar.bz2
trackermap-web-ed99455abb6c73ded056ae3239cfce01a63ab76f.zip
Return simple string
-rw-r--r--modern/src/common/components/PositionValue.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/common/components/PositionValue.js b/modern/src/common/components/PositionValue.js
index 17e7b1d2..1d9d71f5 100644
--- a/modern/src/common/components/PositionValue.js
+++ b/modern/src/common/components/PositionValue.js
@@ -81,11 +81,11 @@ const PositionValue = ({ position, property, attribute }) => {
);
case 'address':
if (address) {
- return (<>{address}</>);
+ return address;
}
return (<Link href="#" onClick={showAddress}>{t('sharedShowAddress')}</Link>);
default:
- return (<>{formatValue(value)}</>);
+ return formatValue(value);
}
};