activity: add user current location as default for a new activity

This commit is contained in:
nobohan
2021-11-17 15:21:53 +01:00
parent cd4de2e244
commit 63e5220084
3 changed files with 11 additions and 9 deletions

View File

@@ -22,6 +22,7 @@
'{{ "You are going to leave a page with unsubmitted data. Are you sure you want to leave ?"|trans }}');
});
window.activity = {{ activity_json|json_encode|raw }};
window.default_location_id = {{ default_location_id }};
</script>
{{ encore_entry_script_tags('vue_activity') }}
{% endblock %}