mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-30 12:43:58 +00:00
fix
This commit is contained in:
@@ -94,6 +94,7 @@ export default function TableDataGrid({
|
|||||||
|
|
||||||
React.useEffect(() => {
|
React.useEffect(() => {
|
||||||
const newDisplay = createDisplay();
|
const newDisplay = createDisplay();
|
||||||
|
if (!newDisplay) return;
|
||||||
if (display && display.isLoadedCorrectly && !newDisplay.isLoadedCorrectly) return;
|
if (display && display.isLoadedCorrectly && !newDisplay.isLoadedCorrectly) return;
|
||||||
setDisplay(newDisplay);
|
setDisplay(newDisplay);
|
||||||
}, [connection, config, cache || myCache, conid, database, schemaName, pureName, dbinfo]);
|
}, [connection, config, cache || myCache, conid, database, schemaName, pureName, dbinfo]);
|
||||||
|
|||||||
Reference in New Issue
Block a user