Add args param to run command
This commit is contained in:
parent
a8f5f917dd
commit
092d8109b0
@ -56,7 +56,8 @@ const ServerCommandsPanel = () => {
|
||||
setCommandResult([]);
|
||||
setCommandIsRunning(true);
|
||||
|
||||
const response = await dataProvider.runServerCommand(etkeccAdmin, command);
|
||||
const additionalArgs = serverCommands[command].additionalArgs;
|
||||
const response = await dataProvider.runServerCommand(etkeccAdmin, command, { ...(additionalArgs && { args: additionalArgs }) });
|
||||
|
||||
if (!response.success) {
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user