added variables config

master
Gustavo Luigi 2023-06-08 14:51:07 -03:00
parent 4316857b5e
commit 89770328b9
2 changed files with 16 additions and 2 deletions

View File

@ -116,8 +116,8 @@
</div>
<script src="https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/markerclusterer.js"></script>
<script>
const contentUrl = "{{url('/types/'.config('settings.type').'/contents')}}";
const locationField = "{{config('settings.location_field')}}";
const contentUrl = "{{url('/types/'.$_type.'/contents')}}";
const locationField = "{{$_location_field}}";
//const filterFields = ['categoria'];
</script>
<script>

14
variables.json Normal file
View File

@ -0,0 +1,14 @@
[
{
"name": "Type",
"value": "Place",
"type": "string",
"required": true
},
{
"name": "Location Field",
"value": "Address",
"type": "string",
"required": true
}
]