From 0c0cc375d47d6b7a3f83beda7a6afec8839b2875 Mon Sep 17 00:00:00 2001 From: Bruce Date: Thu, 18 Jan 2024 14:05:10 +0800 Subject: [PATCH] fix: console schema refresh (#744) --- app/pages/Console/Drawer/SchemaDrawer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/pages/Console/Drawer/SchemaDrawer.tsx b/app/pages/Console/Drawer/SchemaDrawer.tsx index d65566b7..bae71d59 100644 --- a/app/pages/Console/Drawer/SchemaDrawer.tsx +++ b/app/pages/Console/Drawer/SchemaDrawer.tsx @@ -19,7 +19,7 @@ const SchemaDrawer = () => { const [searchVal, setSearchVal] = useState(''); const [expandedKeys, setExpandedKeys] = useState([]); const getSchemaInfo = useCallback(async () => { - if (schemaOverview.length) return; + // if (schemaOverview.length) return; const { code, data } = await schema.getSpaces(); if (code === 0) { update({