Skip to content

Commit 6681d6c

Browse files
committed
[FIX] test_themes: prepare restoring the website switcher
The forward-port of [1] made no adaptation to the code, and it now simply crashes when trying to use the website switcher when test_themes is installed. This commit, joined to another related fix in community, will be adapted in the forward-ported version to actually fix the issue. Meanwhile, it fixes a linter error introduced by that same [1] commit. [1]: c3af5d9 closes #1030 Related: odoo/odoo#190877 Signed-off-by: Quentin Smetz (qsm) <[email protected]>
1 parent c3af5d9 commit 6681d6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test_themes/static/src/systray_items/website_switcher.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ patch(WebsiteSwitcherSystray.prototype, 'test_themes_website_switcher_systray',
3636
...elem.dataset,
3737
...this.tooltips[elem.id]
3838
};
39-
return elem
39+
return elem;
4040
});
4141
},
4242

0 commit comments

Comments
 (0)