mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-05-02 19:33:59 +00:00
fix
This commit is contained in:
@@ -112,6 +112,7 @@ registerCommand({
|
|||||||
name: 'Table',
|
name: 'Table',
|
||||||
toolbar: true,
|
toolbar: true,
|
||||||
toolbarName: 'New table',
|
toolbarName: 'New table',
|
||||||
|
testEnabled: () => !!get(currentDatabase),
|
||||||
onClick: () => {
|
onClick: () => {
|
||||||
const $currentDatabase = get(currentDatabase);
|
const $currentDatabase = get(currentDatabase);
|
||||||
const connection = _.get($currentDatabase, 'connection') || {};
|
const connection = _.get($currentDatabase, 'connection') || {};
|
||||||
|
|||||||
Reference in New Issue
Block a user