From 64e7705053ceaaf6f5ac8b45fe645ce0876f7b4c Mon Sep 17 00:00:00 2001 From: Simon Li Date: Fri, 14 Apr 2023 15:22:51 +0100 Subject: [PATCH] Server admin: lists are displayed as tables not csv joined --- jsx/src/components/ServerDashboard/ServerDashboard.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/jsx/src/components/ServerDashboard/ServerDashboard.jsx b/jsx/src/components/ServerDashboard/ServerDashboard.jsx index e96a659c..b9428155 100644 --- a/jsx/src/components/ServerDashboard/ServerDashboard.jsx +++ b/jsx/src/components/ServerDashboard/ServerDashboard.jsx @@ -236,8 +236,7 @@ const ServerDashboard = (props) => { break; } if (Array.isArray(value)) { - // cast arrays (e.g. roles, groups) to string - value = value.sort().join(", "); + value.sort(); } result[key] = value; return result;