Skip to content

Commit

Permalink
Fixes the variation loading
Browse files Browse the repository at this point in the history
  • Loading branch information
gsarig committed Nov 17, 2024
1 parent dd1ca18 commit 72a260f
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 29 deletions.
15 changes: 14 additions & 1 deletion build/block/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,21 @@
"default": false
}
},
"variations": [
{
"name": "custom-fields",
"title": "OpenStreetMap from custom fields",
"icon": "location",
"attributes": {
"queryCustomFields": true,
"showMapData": false,
"showSearchBox": false,
"serverSideRender": true
}
}
],
"textdomain": "ootb-openstreetmap",
"editorScript": "file:./index.js",
"editorScript": "file:../index.js",
"style": "file:./index.css",
"script": [
"leaflet",
Expand Down
4 changes: 0 additions & 4 deletions build/block/index-rtl.css

This file was deleted.

1 change: 0 additions & 1 deletion build/block/index.asset.php

This file was deleted.

Loading

0 comments on commit 72a260f

Please sign in to comment.