The ConfigurationRow now shows the name of the server

This commit is contained in:
Mathias Wagner 2023-06-03 01:47:40 +02:00
parent a01069323c
commit 5ea0093eef
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

View File

@ -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">