From 484fc333e4cdaf658f96ac8b11da6ac7e9b88bfd Mon Sep 17 00:00:00 2001 From: ryjiang Date: Wed, 21 Aug 2024 14:31:36 +0800 Subject: [PATCH] feat: support display segment level Signed-off-by: ryjiang --- .../pages/databases/collections/segments/Segments.tsx | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/client/src/pages/databases/collections/segments/Segments.tsx b/client/src/pages/databases/collections/segments/Segments.tsx index 8e79c6da..b49c6297 100644 --- a/client/src/pages/databases/collections/segments/Segments.tsx +++ b/client/src/pages/databases/collections/segments/Segments.tsx @@ -110,13 +110,22 @@ const Segments = () => { align: 'left', disablePadding: false, needCopy: true, - label: collectionTrans('segmentID'), + label: 'ID', getStyle: () => { return { minWidth: 190, }; }, }, + { + id: 'level', + align: 'left', + disablePadding: false, + label: 'Level', + getStyle: () => { + return {}; + }, + }, { id: 'partitionID', align: 'left',