Fixed: remove the "preload" component, and do not preload the period's json

This didn't accelerated the loading of period's pages, and make the period's json loaded twice.
This commit is contained in:
2023-01-19 23:21:28 +01:00
parent e87f0bf348
commit 99482edf0d
2 changed files with 0 additions and 5 deletions

View File

@@ -1,9 +1,5 @@
{% extends "@ChillMain/layoutWithVerticalMenu.html.twig" %}
{% block head_custom %}
<link rel="preload" href="{{ preload(path('chill_api_single_accompanying_course__entity', {'id': accompanyingCourse.id, '_format': 'json' }), {as: 'fetch'}) }}" as="fetch" />
{% endblock %}
{% block top_banner %}
{{ include('@ChillPerson/AccompanyingCourse/banner.html.twig', { title: block('title') }) }}
{% endblock %}