From 3309317e3bb7db4f1eb3d9ae1803effb637a4faf Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 28 Feb 2024 04:59:19 -0800 Subject: Show uniqueId in connections --- modern/src/settings/DeviceConnectionsPage.jsx | 1 + modern/src/settings/GroupConnectionsPage.jsx | 1 + modern/src/settings/UserConnectionsPage.jsx | 2 ++ 3 files changed, 4 insertions(+) (limited to 'modern/src') diff --git a/modern/src/settings/DeviceConnectionsPage.jsx b/modern/src/settings/DeviceConnectionsPage.jsx index e6565058..10d0c3f6 100644 --- a/modern/src/settings/DeviceConnectionsPage.jsx +++ b/modern/src/settings/DeviceConnectionsPage.jsx @@ -61,6 +61,7 @@ const DeviceConnectionsPage = () => { baseId={id} keyBase="deviceId" keyLink="driverId" + titleGetter={(it) => `${it.name} (${it.uniqueId})`} label={t('sharedDrivers')} /> )} diff --git a/modern/src/settings/GroupConnectionsPage.jsx b/modern/src/settings/GroupConnectionsPage.jsx index 498bb709..cd4e743b 100644 --- a/modern/src/settings/GroupConnectionsPage.jsx +++ b/modern/src/settings/GroupConnectionsPage.jsx @@ -61,6 +61,7 @@ const GroupConnectionsPage = () => { baseId={id} keyBase="groupId" keyLink="driverId" + titleGetter={(it) => `${it.name} (${it.uniqueId})`} label={t('sharedDrivers')} /> )} 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')} /> { baseId={id} keyBase="userId" keyLink="driverId" + titleGetter={(it) => `${it.name} (${it.uniqueId})`} label={t('sharedDrivers')} />