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