From 80e8ef10f676dcbbedc88958973d13245997936a Mon Sep 17 00:00:00 2001 From: sherry Date: Tue, 26 Sep 2023 15:32:32 +0800 Subject: [PATCH] fix: fix bug --- src/components/Tables/S3BucketsTable.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/Tables/S3BucketsTable.js b/src/components/Tables/S3BucketsTable.js index 9095d52..9aa4eb5 100644 --- a/src/components/Tables/S3BucketsTable.js +++ b/src/components/Tables/S3BucketsTable.js @@ -1,7 +1,7 @@ /* eslint-disable jsx-a11y/anchor-is-valid */ import React, { useEffect, useState, useCallback, useRef, useContext } from 'react'; import { mainContext } from 'reducer'; -import { Breadcrumb } from 'antd'; +import { Breadcrumb, Tooltip } from 'antd'; import moment from 'moment'; import { useHistory } from 'react-router-dom'; import PropTypes from 'prop-types'; @@ -371,14 +371,16 @@ export default function S3BucketsTable({ color, bucketName, accessKeyId, secretA {item.CID ? - <> + {item.CIDAbbrValue} - : '--'} + : '--'} {item.GatewayUrl ? + {item.GatewayUrlAbbrValue} + : '--'} {item['Size'] ? switchStorageUnit2(item['Size']) : '--'} {item.LastModified ? moment(item.LastModified).format('YYYY-MM-DD HH:mm:ss') : '--'}