mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[IMP] web_advanced_search: pre-commit execution
This commit is contained in:
@@ -21,9 +21,8 @@ odoo.define("web_advanced_search.CustomFilterItem", function (require) {
|
||||
|
||||
_addDefaultCondition() {
|
||||
super._addDefaultCondition(...arguments);
|
||||
const condition = this.state.conditions[
|
||||
this.state.conditions.length - 1
|
||||
];
|
||||
const condition =
|
||||
this.state.conditions[this.state.conditions.length - 1];
|
||||
condition.index = _.uniqueId("condition_");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user