From 5ea0093eef2b2d84c5739615fa7a5e59292b50b7 Mon Sep 17 00:00:00 2001 From: Mathias Wagner <germannewsmaker@gmail.com> Date: Sat, 3 Jun 2023 01:47:40 +0200 Subject: [PATCH] The ConfigurationRow now shows the name of the server --- .../components/ConfigurationArea/ConfigurationArea.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/pages/tools/linux/InstallSoftware/components/ConfigurationArea/ConfigurationArea.jsx b/client/src/pages/tools/linux/InstallSoftware/components/ConfigurationArea/ConfigurationArea.jsx index b440e1d..447bd7f 100644 --- a/client/src/pages/tools/linux/InstallSoftware/components/ConfigurationArea/ConfigurationArea.jsx +++ b/client/src/pages/tools/linux/InstallSoftware/components/ConfigurationArea/ConfigurationArea.jsx @@ -105,7 +105,7 @@ export const ConfigurationArea = ({current}) => { })} {servers.length !== 0 && <ConfigurationRow type="select" icon={faServer} text="Server" options={servers.map((server) => { - return {value: server.id, text: server.hostname} + return {value: server.id, text: (server.name || "Unbenannt") + " (" + server.hostname + ")"} })} value={selectedServer} setValue={setSelectedServer} />} <div className="align-right">