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