diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-01-09 08:45:41 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2020-01-09 08:46:30 +0100 |
commit | d1a81a0225c326c91ee2e09167055d6f98924560 (patch) | |
tree | 0521d8a69ccf71e29b6e5eae68b7b9f369661794 /apps/workflowengine/src | |
parent | 460ea6d6ceaf96bbc064451403e1fec9b3f124cd (diff) | |
download | nextcloud-server-d1a81a0225c326c91ee2e09167055d6f98924560.tar.gz nextcloud-server-d1a81a0225c326c91ee2e09167055d6f98924560.zip |
Fallback to proper default values
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/workflowengine/src')
-rw-r--r-- | apps/workflowengine/src/components/Check.vue | 1 | ||||
-rw-r--r-- | apps/workflowengine/src/components/Rule.vue | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/apps/workflowengine/src/components/Check.vue b/apps/workflowengine/src/components/Check.vue index c15907852e8..cfd0f034adf 100644 --- a/apps/workflowengine/src/components/Check.vue +++ b/apps/workflowengine/src/components/Check.vue @@ -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) } diff --git a/apps/workflowengine/src/components/Rule.vue b/apps/workflowengine/src/components/Rule.vue index 7796180be6f..c6e23a8f180 100644 --- a/apps/workflowengine/src/components/Rule.vue +++ b/apps/workflowengine/src/components/Rule.vue @@ -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" /> |