mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-22 00:36:01 +00:00
replaced executeJavaScript with IPC event
This commit is contained in:
@@ -18,8 +18,6 @@ export default function runCommand(id) {
|
||||
}
|
||||
}
|
||||
|
||||
window['dbgate_runCommand'] = runCommand;
|
||||
|
||||
export function runGroupCommand(group) {
|
||||
const commandsValue = getCommands();
|
||||
const values = Object.values(commandsValue) as GlobalCommand[];
|
||||
@@ -32,3 +30,4 @@ export function findCommand(id) {
|
||||
const command = commandsValue[id];
|
||||
return command;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user