From a5ecc2dc9f44bb3821b89625e58232311b2fae27 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Wed, 7 Feb 2024 10:05:01 +0200 Subject: [PATCH] Show download client ID as hint in select options --- .../src/Components/Form/DownloadClientSelectInputConnector.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/Components/Form/DownloadClientSelectInputConnector.js b/frontend/src/Components/Form/DownloadClientSelectInputConnector.js index 162c79885..d5bbe4a2f 100644 --- a/frontend/src/Components/Form/DownloadClientSelectInputConnector.js +++ b/frontend/src/Components/Form/DownloadClientSelectInputConnector.js @@ -24,7 +24,8 @@ function createMapStateToProps() { .sort(sortByName) .map((downloadClient) => ({ key: downloadClient.id, - value: downloadClient.name + value: downloadClient.name, + hint: `(${downloadClient.id})` })); if (includeAny) {