Skip to content

Commit 5566e5b

Browse files
agau-odoobso-odoo
authored andcommitted
remove useless withSequence from Product List Page
1 parent 0cd16ff commit 5566e5b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

addons/html_builder/static/src/website_sale/products_list_page_option_plugin.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { ProductsListPageOption } from "@html_builder/website_sale/products_list_page_option";
22
import { Plugin } from "@html_editor/plugin";
3-
import { withSequence } from "@html_editor/utils/resource";
43
import { _t } from "@web/core/l10n/translation";
54
import { rpc } from "@web/core/network/rpc";
65
import { registry } from "@web/core/registry";
@@ -9,15 +8,15 @@ class ProductsListPageOptionPlugin extends Plugin {
98
static id = "productsListPageOptionPlugin";
109
resources = {
1110
builder_options: [
12-
withSequence(15, {
11+
{
1312
OptionComponent: ProductsListPageOption,
1413
selector: "main:has(.o_wsale_products_page)",
1514
applyTo:
1615
"#products_grid .o_wsale_products_grid_table_wrapper > .o_wsale_products_grid_table",
1716
editableOnly: false,
1817
title: _t("Products Page"),
1918
groups: ["website.group_website_designer"],
20-
}),
19+
},
2120
],
2221
builder_actions: this.getActions(),
2322
};

0 commit comments

Comments
 (0)