diff --git a/src/components/EventLog.vue b/src/components/EventLog.vue index 3b1b10a..c7b2b47 100644 --- a/src/components/EventLog.vue +++ b/src/components/EventLog.vue @@ -4,6 +4,7 @@
${msg}`, html: true, - fullWidth: true + fullWidth: true, }); }, getEventLog() { @@ -131,10 +132,10 @@ export default { this.$q.loading.hide(); this.notifyError(e.response.data); }); - } + }, }, created() { this.getEventLog(); - } + }, }; \ No newline at end of file diff --git a/src/components/Services.vue b/src/components/Services.vue index 3b54429..a645ff3 100644 --- a/src/components/Services.vue +++ b/src/components/Services.vue @@ -101,6 +101,7 @@ \ No newline at end of file diff --git a/src/components/modals/agents/EditAgent.vue b/src/components/modals/agents/EditAgent.vue index 433328b..c08dfd8 100644 --- a/src/components/modals/agents/EditAgent.vue +++ b/src/components/modals/agents/EditAgent.vue @@ -29,6 +29,7 @@
Site:
- +
Type:
this.notifyError("Something went wrong")); - } + }, }, computed: { ...mapGetters(["selectedAgentPk"]), @@ -396,11 +412,11 @@ export default { if (this.agentLoaded && this.clientsLoaded) { return this.tree[this.agent.client]; } - } + }, }, created() { this.getAgentInfo(); this.getClientsSites(); - } + }, }; \ No newline at end of file diff --git a/src/components/modals/agents/InstallAgent.vue b/src/components/modals/agents/InstallAgent.vue index f806d99..de340ad 100644 --- a/src/components/modals/agents/InstallAgent.vue +++ b/src/components/modals/agents/InstallAgent.vue @@ -15,6 +15,7 @@ - +
@@ -57,7 +58,13 @@ Select Version - + Installation Method diff --git a/src/components/modals/agents/UpdateAgents.vue b/src/components/modals/agents/UpdateAgents.vue index 14fb3d2..3cc3f73 100644 --- a/src/components/modals/agents/UpdateAgents.vue +++ b/src/components/modals/agents/UpdateAgents.vue @@ -10,7 +10,14 @@ Select Version - + Select Agent @@ -38,7 +45,7 @@ export default { version: null, agents: [], group: [], - selectAll: false + selectAll: false, }; }, methods: { @@ -68,7 +75,7 @@ export default { this.notifySuccess("Agents will now be updated"); }) .catch(() => this.notifyError("Something went wrong")); - } + }, }, computed: { agentPKs() { @@ -83,10 +90,10 @@ export default { options.push(opt); } return options; - } + }, }, created() { this.getVersions(); - } + }, }; diff --git a/src/components/modals/checks/CpuLoadCheck.vue b/src/components/modals/checks/CpuLoadCheck.vue index cd9c64b..9a24cfb 100644 --- a/src/components/modals/checks/CpuLoadCheck.vue +++ b/src/components/modals/checks/CpuLoadCheck.vue @@ -24,6 +24,7 @@ \ No newline at end of file diff --git a/src/components/modals/checks/DiskSpaceCheck.vue b/src/components/modals/checks/DiskSpaceCheck.vue index 7fe28c5..bf793ce 100644 --- a/src/components/modals/checks/DiskSpaceCheck.vue +++ b/src/components/modals/checks/DiskSpaceCheck.vue @@ -33,6 +33,7 @@ \ No newline at end of file diff --git a/src/components/modals/checks/EventLogCheck.vue b/src/components/modals/checks/EventLogCheck.vue index 60ad225..e9440ca 100644 --- a/src/components/modals/checks/EventLogCheck.vue +++ b/src/components/modals/checks/EventLogCheck.vue @@ -20,6 +20,7 @@ \ No newline at end of file diff --git a/src/components/modals/checks/PingCheck.vue b/src/components/modals/checks/PingCheck.vue index aacea24..f1674f8 100644 --- a/src/components/modals/checks/PingCheck.vue +++ b/src/components/modals/checks/PingCheck.vue @@ -28,6 +28,7 @@ \ No newline at end of file diff --git a/src/components/modals/checks/ScriptCheck.vue b/src/components/modals/checks/ScriptCheck.vue index 339852e..601e5bb 100644 --- a/src/components/modals/checks/ScriptCheck.vue +++ b/src/components/modals/checks/ScriptCheck.vue @@ -23,6 +23,7 @@ \ No newline at end of file diff --git a/src/components/modals/checks/WinSvcCheck.vue b/src/components/modals/checks/WinSvcCheck.vue index d420566..9c928f1 100644 --- a/src/components/modals/checks/WinSvcCheck.vue +++ b/src/components/modals/checks/WinSvcCheck.vue @@ -28,6 +28,7 @@ v-if="policypk && winsvccheck.svc_policy_mode === 'default' && this.mode !== 'edit'" :rules="[val => !!val || '*Required']" dense + options-dense outlined v-model="winsvccheck.svc_name" :options="serviceOptions" @@ -41,6 +42,7 @@ v-if="policypk && winsvccheck.svc_policy_mode === 'default' && this.mode === 'edit'" disable dense + options-dense outlined v-model="winsvccheck.svc_name" :options="serviceOptions" @@ -70,6 +72,7 @@ v-if="agentpk" :rules="[val => !!val || '*Required']" dense + options-dense outlined v-model="winsvccheck.svc_name" :options="serviceOptions" @@ -95,6 +98,7 @@ (a.label > b.label ? 1 : -1)); - } + }, }, methods: { clearServiceOptions() { @@ -174,7 +178,7 @@ export default { const pk = this.policypk ? { policy: this.policypk } : { pk: this.agentpk }; const data = { ...pk, - check: this.winsvccheck + check: this.winsvccheck, }; axios .post("/checks/checks/", data) @@ -201,7 +205,7 @@ export default { } else { this.$store.dispatch("loadChecks", this.agentpk); } - } + }, }, created() { this.setServices(); @@ -210,6 +214,6 @@ export default { if (this.mode === "edit") { this.getCheck(); } - } + }, }; \ No newline at end of file diff --git a/src/components/modals/clients/AddSite.vue b/src/components/modals/clients/AddSite.vue index 2c4d323..55edd37 100644 --- a/src/components/modals/clients/AddSite.vue +++ b/src/components/modals/clients/AddSite.vue @@ -12,7 +12,7 @@ - + { this.$emit("close"); @@ -62,10 +62,10 @@ export default { this.notifySuccess(`Site ${this.siteName} was added!`); }) .catch(err => this.notifyError(err.response.data.error)); - } + }, }, created() { this.loadFirstClient(); - } + }, }; \ No newline at end of file diff --git a/src/components/modals/clients/EditClients.vue b/src/components/modals/clients/EditClients.vue index e675fa7..3b99c72 100644 --- a/src/components/modals/clients/EditClients.vue +++ b/src/components/modals/clients/EditClients.vue @@ -15,6 +15,7 @@ i.value === this.client.id).label; return this.client.client === origName ? false : true; } - } + }, }, methods: { getClients() { @@ -88,10 +89,10 @@ export default { this.notifyError(e.response.data.non_field_errors); } }); - } + }, }, created() { this.getClients(); - } + }, }; \ No newline at end of file diff --git a/src/components/modals/clients/EditSites.vue b/src/components/modals/clients/EditSites.vue index 817fe37..23ad76c 100644 --- a/src/components/modals/clients/EditSites.vue +++ b/src/components/modals/clients/EditSites.vue @@ -15,6 +15,7 @@ this.notifyError(e.response.data)); - } + }, }, created() { this.getTree(); - } + }, }; \ No newline at end of file diff --git a/src/components/modals/coresettings/EditCoreSettings.vue b/src/components/modals/coresettings/EditCoreSettings.vue index 62d421f..cdac38d 100644 --- a/src/components/modals/coresettings/EditCoreSettings.vue +++ b/src/components/modals/coresettings/EditCoreSettings.vue @@ -32,6 +32,7 @@ state.logs.toggleLogModal - }) - } + toggleLogModal: state => state.logs.toggleLogModal, + }), + }, }; \ No newline at end of file diff --git a/src/components/modals/scripts/ScriptModal.vue b/src/components/modals/scripts/ScriptModal.vue index 3b2837a..cd74606 100644 --- a/src/components/modals/scripts/ScriptModal.vue +++ b/src/components/modals/scripts/ScriptModal.vue @@ -70,6 +70,7 @@ \ No newline at end of file diff --git a/src/views/InitialSetup.vue b/src/views/InitialSetup.vue index 2dcb3ab..9c9f68a 100644 --- a/src/views/InitialSetup.vue +++ b/src/views/InitialSetup.vue @@ -36,7 +36,7 @@
Default timezone for agents:
- +
@@ -77,11 +77,11 @@ export default { return { client: { client: null, - site: null + site: null, }, meshagent: null, allTimezones: [], - timezone: null + timezone: null, }; }, methods: { @@ -90,7 +90,7 @@ export default { const data = { client: this.client, timezone: this.timezone, - initialsetup: true + initialsetup: true, }; axios .post("/clients/clients/", data) @@ -122,10 +122,10 @@ export default { this.allTimezones = Object.freeze(r.data.all_timezones); this.timezone = r.data.default_time_zone; }); - } + }, }, created() { this.getSettings(); - } + }, }; \ No newline at end of file