mirror of
https://github.com/jpros/tacticalrmm-web.git
synced 2026-01-20 03:50:21 +00:00
more go agent prep
This commit is contained in:
@@ -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];
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user