From 81e9eea565cb4f95ba767645f09bab11c9755cc9 Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Wed, 15 Nov 2023 22:26:45 +0800 Subject: [PATCH] feat: add updatedAt in servers table --- src/client/pages/Servers.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/client/pages/Servers.tsx b/src/client/pages/Servers.tsx index 900e5f1..3733e13 100644 --- a/src/client/pages/Servers.tsx +++ b/src/client/pages/Servers.tsx @@ -244,6 +244,13 @@ export const ServerList: React.FC<{ )} / ${filesize(record.payload.hdd_total * 1000 * 1000)}`; }, }, + { + key: 'updatedAt', + title: 'updatedAt', + render: (val) => { + return dayjs(val).format('MMM D HH:mm:ss'); + }, + }, ]; }, []);