mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Reset the value when changing the check class (because it might be invalid)
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
a61fa70bcd
commit
2dd8e90a9f
1 changed files with 1 additions and 0 deletions
|
|
@ -270,6 +270,7 @@
|
|||
var check = OCA.WorkflowEngine.getCheckByClass(value);
|
||||
if (!_.isUndefined(check)) {
|
||||
checks[id]['operator'] = check['operators'][0]['operator'];
|
||||
checks[id]['value'] = '';
|
||||
}
|
||||
}
|
||||
// model change will trigger render
|
||||
|
|
|
|||
Loading…
Reference in a new issue