diff --git a/.vscode/extensions.json b/.vscode/extensions.json
index 21f9c75..28de537 100644
--- a/.vscode/extensions.json
+++ b/.vscode/extensions.json
@@ -5,7 +5,7 @@
"esbenp.prettier-vscode",
"editorconfig.editorconfig",
"vue.volar",
- "wayou.vscode-todo-highlight",
+ "wayou.vscode-todo-highlight"
],
"unwantedRecommendations": [
"octref.vetur",
diff --git a/.vscode/settings.json b/.vscode/settings.json
index b530da3..2f30924 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -4,16 +4,9 @@
"editor.formatOnSave": true,
"[vue][javascript][typescript][javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
- "editor.codeActionsOnSave": [
- "source.fixAll.eslint"
- ],
+ "editor.codeActionsOnSave": ["source.fixAll.eslint"]
},
- "eslint.validate": [
- "javascript",
- "javascriptreact",
- "typescript",
- "vue"
- ],
+ "eslint.validate": ["javascript", "javascriptreact", "typescript", "vue"],
"typescript.tsdk": "node_modules/typescript/lib",
"files.watcherExclude": {
"files.watcherExclude": {
@@ -22,7 +15,7 @@
"**/node_modules/": true,
"/node_modules/**": true,
"**/env/": true,
- "/env/**": true,
+ "/env/**": true
}
- },
-}
\ No newline at end of file
+ }
+}
diff --git a/index.html b/index.html
index 23eb186..65075f7 100644
--- a/index.html
+++ b/index.html
@@ -1,24 +1,22 @@
+
+ <%= productName %>
-
-
- <%= productName %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/postcss.config.js b/postcss.config.js
index 94b7b1c..008a4a0 100644
--- a/postcss.config.js
+++ b/postcss.config.js
@@ -4,18 +4,18 @@
module.exports = {
plugins: [
// https://github.com/postcss/autoprefixer
- require('autoprefixer')({
+ require("autoprefixer")({
overrideBrowserslist: [
- 'last 4 Chrome versions',
- 'last 4 Firefox versions',
- 'last 4 Edge versions',
- 'last 4 Safari versions',
- 'last 4 Android versions',
- 'last 4 ChromeAndroid versions',
- 'last 4 FirefoxAndroid versions',
- 'last 4 iOS versions'
- ]
- })
+ "last 4 Chrome versions",
+ "last 4 Firefox versions",
+ "last 4 Edge versions",
+ "last 4 Safari versions",
+ "last 4 Android versions",
+ "last 4 ChromeAndroid versions",
+ "last 4 FirefoxAndroid versions",
+ "last 4 iOS versions",
+ ],
+ }),
// https://github.com/elchininet/postcss-rtlcss
// If you want to support RTL css, then
@@ -23,5 +23,5 @@ module.exports = {
// 2. optionally set quasar.config.js > framework > lang to an RTL language
// 3. uncomment the following line:
// require('postcss-rtlcss')
- ]
-}
+ ],
+};
diff --git a/src/components/agents/WmiDetail.vue b/src/components/agents/WmiDetail.vue
index 1ecb7c1..a03cd95 100644
--- a/src/components/agents/WmiDetail.vue
+++ b/src/components/agents/WmiDetail.vue
@@ -8,16 +8,16 @@
v
}}
- Copy to Clipboard
-
+ v-if="!!v"
+ size="sm"
+ class="q-ml-xs"
+ flat
+ round
+ icon="content_copy"
+ @click="copyValueToClip(v)"
+ >
+ Copy to Clipboard
+
@@ -42,10 +42,9 @@ export default {
const tabHeight = computed(() => store.state.tabHeight);
function copyValueToClip(val) {
- copyToClipboard(val)
- .then(() => {
- notifySuccess("Copied to clipboard");
- })
+ copyToClipboard(val).then(() => {
+ notifySuccess("Copied to clipboard");
+ });
}
return {
diff --git a/src/components/checks/ScriptCheck.vue b/src/components/checks/ScriptCheck.vue
index fe348b2..38c4e77 100644
--- a/src/components/checks/ScriptCheck.vue
+++ b/src/components/checks/ScriptCheck.vue
@@ -128,7 +128,7 @@ import { useDialogPluginComponent } from "quasar";
import { useCheckModal } from "@/composables/checks";
import { useScriptDropdown } from "@/composables/scripts";
import { validateRetcode } from "@/utils/validation";
-import { envVarsLabel } from "@/constants/constants"
+import { envVarsLabel } from "@/constants/constants";
// ui imports
import TacticalDropdown from "@/components/ui/TacticalDropdown.vue";
@@ -146,10 +146,15 @@ export default {
const { dialogRef, onDialogHide, onDialogOK } = useDialogPluginComponent();
// setup script dropdown
- const { script, scriptOptions, defaultTimeout, defaultArgs, defaultEnvVars } =
- useScriptDropdown(props.check ? props.check.script : undefined, {
- onMount: true,
- });
+ const {
+ script,
+ scriptOptions,
+ defaultTimeout,
+ defaultArgs,
+ defaultEnvVars,
+ } = useScriptDropdown(props.check ? props.check.script : undefined, {
+ onMount: true,
+ });
// check logic
const { state, loading, submit, failOptions, severityOptions } =
diff --git a/src/components/modals/agents/AgentDownload.vue b/src/components/modals/agents/AgentDownload.vue
index ec07689..bbeffee 100644
--- a/src/components/modals/agents/AgentDownload.vue
+++ b/src/components/modals/agents/AgentDownload.vue
@@ -89,7 +89,8 @@
Note: the auth token above will be valid for {{ info.expires }} hours.
-