mirror of
https://github.com/nasa/openmct.git
synced 2025-05-16 23:43:03 +00:00
added controls for remove and duplicate criteria
This commit is contained in:
parent
43056c4068
commit
25e28ab97c
@ -94,6 +94,7 @@ export default {
|
|||||||
mounted() {
|
mounted() {
|
||||||
this.updateMetadataOptions();
|
this.updateMetadataOptions();
|
||||||
this.updateOperationInputVisibility();
|
this.updateOperationInputVisibility();
|
||||||
|
console.log('this.isDefault', this.isDefault);
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
updateMetadataOptions() {
|
updateMetadataOptions() {
|
||||||
@ -116,6 +117,18 @@ export default {
|
|||||||
updateMetadataSelection() {
|
updateMetadataSelection() {
|
||||||
this.updateOperationInputVisibility();
|
this.updateOperationInputVisibility();
|
||||||
},
|
},
|
||||||
|
removeCriterion(ev) {
|
||||||
|
console.log('removeCriterion', this.index);
|
||||||
|
// this.$emit('removeCondition', this.conditionIdentifier);
|
||||||
|
},
|
||||||
|
cloneCriterion(ev) {
|
||||||
|
console.log('cloneCriterion')
|
||||||
|
// this.$emit('cloneCondition', {
|
||||||
|
// identifier: this.conditionIdentifier,
|
||||||
|
// index: Number(ev.target.closest('.widget-condition').getAttribute('data-condition-index'))
|
||||||
|
// });
|
||||||
|
},
|
||||||
|
|
||||||
persist() {
|
persist() {
|
||||||
this.$emit('persist', this.criterion);
|
this.$emit('persist', this.criterion);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user