mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-22 00:36:01 +00:00
change database status command
This commit is contained in:
@@ -26,3 +26,9 @@ export function runGroupCommand(group) {
|
||||
const real = values.find(x => x.group == group && !x.isGroupCommand && x.enabled);
|
||||
if (real && real.onClick) real.onClick();
|
||||
}
|
||||
|
||||
export function findCommand(id) {
|
||||
const commandsValue = getCommands();
|
||||
const command = commandsValue[id];
|
||||
return command;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user