mirror of
https://github.com/nasa/openmct.git
synced 2025-01-04 12:24:10 +00:00
enable trigger
This commit is contained in:
parent
d333fd5822
commit
8539d60562
@ -103,7 +103,9 @@
|
|||||||
<li class="has-local-controls t-condition">
|
<li class="has-local-controls t-condition">
|
||||||
<label>Match when</label>
|
<label>Match when</label>
|
||||||
<span class="controls">
|
<span class="controls">
|
||||||
<select v-model="trigger">
|
<select v-model="domainObject.configuration.trigger"
|
||||||
|
@change="persist"
|
||||||
|
>
|
||||||
<option value="all">all criteria are met</option>
|
<option value="all">all criteria are met</option>
|
||||||
<option value="any">any criteria are met</option>
|
<option value="any">any criteria are met</option>
|
||||||
</select>
|
</select>
|
||||||
@ -118,7 +120,7 @@
|
|||||||
:telemetry="telemetry"
|
:telemetry="telemetry"
|
||||||
:criterion="criterion"
|
:criterion="criterion"
|
||||||
:index="index"
|
:index="index"
|
||||||
:trigger="trigger"
|
:trigger="domainObject.configuration.trigger"
|
||||||
@persist="persist"
|
@persist="persist"
|
||||||
/>
|
/>
|
||||||
</ul>
|
</ul>
|
||||||
@ -199,7 +201,6 @@ export default {
|
|||||||
domainObject: this.domainObject,
|
domainObject: this.domainObject,
|
||||||
currentCriteria: this.currentCriteria,
|
currentCriteria: this.currentCriteria,
|
||||||
expanded: true,
|
expanded: true,
|
||||||
trigger: 'all',
|
|
||||||
selectedOutputKey: '',
|
selectedOutputKey: '',
|
||||||
stringOutputField: false,
|
stringOutputField: false,
|
||||||
outputOptions: ['false', 'true', 'string']
|
outputOptions: ['false', 'true', 'string']
|
||||||
|
@ -243,7 +243,7 @@ export default {
|
|||||||
const configurationTemplate = {
|
const configurationTemplate = {
|
||||||
name: isDefault ? 'Default' : (isClone ? 'Copy of ' : '') + 'Unnamed Condition',
|
name: isDefault ? 'Default' : (isClone ? 'Copy of ' : '') + 'Unnamed Condition',
|
||||||
output: 'false',
|
output: 'false',
|
||||||
trigger: 'any',
|
trigger: 'all',
|
||||||
criteria: isDefault ? [] : [{
|
criteria: isDefault ? [] : [{
|
||||||
telemetry: '',
|
telemetry: '',
|
||||||
operation: '',
|
operation: '',
|
||||||
|
Loading…
Reference in New Issue
Block a user