fix building WFE Handlebars
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>pull/15526/head
parent
c41aa7a209
commit
738ca9f849
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,7 @@
|
||||
module.exports = function(classname) {
|
||||
var check = OCA.WorkflowEngine.getCheckByClass(classname);
|
||||
if (!_.isUndefined(check)) {
|
||||
return check['operators'];
|
||||
}
|
||||
return [];
|
||||
}
|
||||
@ -0,0 +1,7 @@
|
||||
module.exports = function(currentValue, itemValue) {
|
||||
if (currentValue === itemValue) {
|
||||
return 'selected="selected"';
|
||||
}
|
||||
|
||||
return "";
|
||||
}
|
||||
Loading…
Reference in New Issue