From 4bbe5ca02f0837df3ec78047de8b30f0113f10ab Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Sun, 30 Aug 2020 10:20:56 +0000 Subject: [PATCH] add script arguments support for ad-hoc run scripts --- src/components/modals/agents/RunScript.vue | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/components/modals/agents/RunScript.vue b/src/components/modals/agents/RunScript.vue index daaf0c5..1c8a7bb 100644 --- a/src/components/modals/agents/RunScript.vue +++ b/src/components/modals/agents/RunScript.vue @@ -16,6 +16,20 @@ label="Select script" map-options emit-value + options-dense + /> + + + @@ -71,6 +85,7 @@ export default { timeout: 30, ret: null, output: "wait", + args: [], }; }, computed: { @@ -98,6 +113,7 @@ export default { timeout: this.timeout, scriptPK: this.scriptPK, output: this.output, + args: this.args, }; this.$axios .post("/agents/runscript/", data)