mirror of
https://github.com/nasa/openmct.git
synced 2024-12-21 06:03:08 +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() {
|
||||
this.updateMetadataOptions();
|
||||
this.updateOperationInputVisibility();
|
||||
console.log('this.isDefault', this.isDefault);
|
||||
},
|
||||
methods: {
|
||||
updateMetadataOptions() {
|
||||
@ -116,6 +117,18 @@ export default {
|
||||
updateMetadataSelection() {
|
||||
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() {
|
||||
this.$emit('persist', this.criterion);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user