Fallback to proper default values
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
460ea6d6ce
commit
d1a81a0225
|
@ -121,6 +121,7 @@ export default {
|
|||
this.deleteVisible = false
|
||||
},
|
||||
validate() {
|
||||
this.valid = true
|
||||
if (this.currentOption && this.currentOption.validate) {
|
||||
this.valid = !!this.currentOption.validate(this.check)
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
type="button"
|
||||
class="check--add"
|
||||
value="Add a new filter"
|
||||
@click="rule.checks.push({class: null, operator: null, value: null})">
|
||||
@click="rule.checks.push({class: null, operator: null, value: ''})">
|
||||
</p>
|
||||
</div>
|
||||
<div class="flow-icon icon-confirm" />
|
||||
|
|
Loading…
Reference in New Issue