From c0b17d9345367ab6500b7cca6bb70c1e3b930284 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 f0ebf534b..fb0430f19 100644 --- a/frontend/src/Components/Form/DownloadClientSelectInputConnector.js +++ b/frontend/src/Components/Form/DownloadClientSelectInputConnector.js @@ -26,7 +26,8 @@ function createMapStateToProps() { const values = _.map(filteredItems.sort(sortByName), (downloadClient) => { return { key: downloadClient.id, - value: downloadClient.name + value: downloadClient.name, + hint: `(${downloadClient.id})` }; });