Get Table Structure Even without Accessing The Page
Summary: This diff helps obtaining metadata for using to edit row Reviewed By: jknoxville Differential Revision: D21788246 fbshipit-source-id: bf01eff8866c82f001575d59cc2886b6cdd39dc5
This commit is contained in:
committed by
Facebook GitHub Bot
parent
1895dd111a
commit
741f3591e6
@@ -833,12 +833,7 @@ export default class DatabasesPlugin extends FlipperPlugin<
|
|||||||
this.setState({error: e});
|
this.setState({error: e});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (
|
if (newState.currentStructure === null && databaseId && table) {
|
||||||
newState.viewMode === 'structure' &&
|
|
||||||
newState.currentStructure === null &&
|
|
||||||
databaseId &&
|
|
||||||
table
|
|
||||||
) {
|
|
||||||
this.databaseClient
|
this.databaseClient
|
||||||
.getTableStructure({
|
.getTableStructure({
|
||||||
databaseId: databaseId,
|
databaseId: databaseId,
|
||||||
|
|||||||
Reference in New Issue
Block a user