more go agent prep

This commit is contained in:
wh1te909
2020-10-16 09:30:48 +00:00
parent eda4d2a6bb
commit b7d886d882

View File

@@ -22,11 +22,11 @@
outlined
v-model.number="diskcheck.threshold"
label="Threshold (%)"
:rules="[
val => !!val || '*Required',
val => val >= 1 || 'Minimum threshold is 1',
val => val < 100 || 'Maximum threshold is 99'
]"
:rules="[
val => !!val || '*Required',
val => val >= 1 || 'Minimum threshold is 1',
val => val < 100 || 'Maximum threshold is 99',
]"
/>
</q-card-section>
<q-card-section>
@@ -81,7 +81,7 @@ export default {
this.diskcheck.disk = "C:";
});
} else {
this.diskOptions = Object.keys(this.agentDisks);
this.diskOptions = this.agentDisks.map(i => i.device);
this.diskcheck.disk = this.diskOptions[0];
}
},