aboutsummaryrefslogtreecommitdiff
path: root/modern/src/settings/UserConnectionsPage.jsx
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2024-02-28 04:59:19 -0800
committerAnton Tananaev <anton@traccar.org>2024-02-28 04:59:19 -0800
commit3309317e3bb7db4f1eb3d9ae1803effb637a4faf (patch)
tree012996c91f0b898f7f602a4b43ceeaa4154de761 /modern/src/settings/UserConnectionsPage.jsx
parent4aa3a83b31bc329e03928d6492e22834a59aa083 (diff)
downloadtrackermap-web-3309317e3bb7db4f1eb3d9ae1803effb637a4faf.tar.gz
trackermap-web-3309317e3bb7db4f1eb3d9ae1803effb637a4faf.tar.bz2
trackermap-web-3309317e3bb7db4f1eb3d9ae1803effb637a4faf.zip
Show uniqueId in connections
Diffstat (limited to 'modern/src/settings/UserConnectionsPage.jsx')
-rw-r--r--modern/src/settings/UserConnectionsPage.jsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/modern/src/settings/UserConnectionsPage.jsx b/modern/src/settings/UserConnectionsPage.jsx
index b7500ebf..3ca0bdc1 100644
--- a/modern/src/settings/UserConnectionsPage.jsx
+++ b/modern/src/settings/UserConnectionsPage.jsx
@@ -40,6 +40,7 @@ const UserConnectionsPage = () => {
baseId={id}
keyBase="userId"
keyLink="deviceId"
+ titleGetter={(it) => `${it.name} (${it.uniqueId})`}
label={t('deviceTitle')}
/>
<LinkField
@@ -98,6 +99,7 @@ const UserConnectionsPage = () => {
baseId={id}
keyBase="userId"
keyLink="driverId"
+ titleGetter={(it) => `${it.name} (${it.uniqueId})`}
label={t('sharedDrivers')}
/>
<LinkField