diff --git a/desktop/plugins/databases/index.tsx b/desktop/plugins/databases/index.tsx index b7e959091..d31385656 100644 --- a/desktop/plugins/databases/index.tsx +++ b/desktop/plugins/databases/index.tsx @@ -833,12 +833,7 @@ export default class DatabasesPlugin extends FlipperPlugin< this.setState({error: e}); }); } - if ( - newState.viewMode === 'structure' && - newState.currentStructure === null && - databaseId && - table - ) { + if (newState.currentStructure === null && databaseId && table) { this.databaseClient .getTableStructure({ databaseId: databaseId,