Skip to content

Commit 1b3fabb

Browse files
committed
PullRequest: 497 fix/dev-4.3.1-objectSearch
Merge branch 'fix/dev-4.3.1-objectSearch of [email protected]:oceanbase/oceanbase-developer-center.git into dev-4.3.1 https://code.alipay.com/oceanbase/oceanbase-developer-center/pull_requests/497 Signed-off-by: 晓康 <[email protected]> * fix: fixes all tab empty problem when response just have databases data
1 parent 94e3ebb commit 1b3fabb

File tree

1 file changed

+3
-1
lines changed
  • src/page/Workspace/SideBar/ResourceTree/DatabaseSearchModal/components

1 file changed

+3
-1
lines changed

src/page/Workspace/SideBar/ResourceTree/DatabaseSearchModal/components/ObjectList.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,9 @@ const ObjectList = ({
144144
const renderAllTab = () => {
145145
return (
146146
<Spin spinning={loading}>
147-
{!objectlist?.dbColumns?.length && !objectlist?.dbObjects?.length ? (
147+
{!objectlist?.dbColumns?.length &&
148+
!objectlist?.dbObjects?.length &&
149+
!objectlist?.databases?.length ? (
148150
<div className={styles.objectlistBoxEmpty}>
149151
<Empty
150152
description={formatMessage({

0 commit comments

Comments
 (0)