Skip to content

Commit

Permalink
Update dependencies to include web_leaflet_lib
Browse files Browse the repository at this point in the history
  • Loading branch information
drkpkg committed Oct 14, 2024
1 parent d23eecd commit 971e1bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion web_widget_map/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"website": "https://github.com/OCA/web",
"category": "Customizations",
"version": "17.0.1.0.0",
"depends": ["web", "web_view_leaflet_map"],
"depends": ["web", "web_leaflet_lib"],
"assets": {
"web.assets_backend": [
"web_widget_map/static/src/components/*",
Expand Down
4 changes: 2 additions & 2 deletions web_widget_map/static/src/components/widget_map.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ export class MapField extends Component {

onWillStart(() =>
Promise.all([
loadJS("/web_view_leaflet_map/static/lib/leaflet/leaflet.js"),
loadCSS("web_view_leaflet_map/static/lib/leaflet/leaflet.css"),
loadJS("/web_leaflet_lib/static/lib/leaflet/leaflet.js"),
loadCSS("/web_leaflet_lib/static/lib/leaflet/leaflet.css"),
])
);

Expand Down

0 comments on commit 971e1bb

Please sign in to comment.