mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
testing theorie: subcommands are allways 1 entry
This commit is contained in:
parent
59046d448f
commit
6d9ac3ae48
1 changed files with 5 additions and 1 deletions
|
@ -205,7 +205,11 @@ class AdvancedFilter {
|
|||
if (start !== -1)
|
||||
{
|
||||
this._processSubCommands(subcommands);
|
||||
commands.splice(start, 0, subcommands);
|
||||
console.log ('subcommands: ', subcommands.length);
|
||||
if (subcommands.length === 1)
|
||||
commands.splice(start, 0, subcommands[0]);
|
||||
else
|
||||
commands.splice(start, 0, subcommands);
|
||||
}
|
||||
this._processConditions(commands);
|
||||
console.log('Conditions: ', JSON.stringify(commands));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue