mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-15 14:03:02 +00:00
Server admin: lists are displayed as word-wrapped CSV
This commit is contained in:
@@ -236,7 +236,8 @@ const ServerDashboard = (props) => {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (Array.isArray(value)) {
|
if (Array.isArray(value)) {
|
||||||
value.sort();
|
// cast arrays (e.g. roles, groups) to string
|
||||||
|
value = value.sort().join(", ");
|
||||||
}
|
}
|
||||||
result[key] = value;
|
result[key] = value;
|
||||||
return result;
|
return result;
|
||||||
@@ -253,6 +254,7 @@ const ServerDashboard = (props) => {
|
|||||||
}}
|
}}
|
||||||
valueStyle={{
|
valueStyle={{
|
||||||
padding: "4px",
|
padding: "4px",
|
||||||
|
whiteSpace: "unset",
|
||||||
}}
|
}}
|
||||||
data={sortedData}
|
data={sortedData}
|
||||||
/>
|
/>
|
||||||
|
Reference in New Issue
Block a user