Export: fix loading of form for "filter action by type, goal and result"

This commit is contained in:
Julien Fastré 2023-11-16 10:57:59 +01:00
parent eaa40d6725
commit d8fa743bc9
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB
4 changed files with 50 additions and 46 deletions

View File

@ -0,0 +1,5 @@
kind: Fixed
body: 'Export: fix loading of form for "filter action by type, goal and result"'
time: 2023-11-16T10:56:42.771516508+01:00
custom:
Issue: "208"

View File

@ -28,9 +28,7 @@
{% block js %}
{{ encore_entry_script_tags('mod_pickentity_type') }}
{{ encore_entry_script_tags('page_export') }}
{% if export_alias == 'count_social_work_actions' %}
{{ encore_entry_script_tags('vue_export_action_goal_result') }}
{% endif %}
{{ encore_entry_script_tags('mod_pick_rolling_date') }}
{% endblock js %}

View File

@ -2,6 +2,7 @@ import { createApp } from "vue";
import { _createI18n } from 'ChillMainAssets/vuejs/_js/i18n';
import App from './App.vue';
if (null !== document.getElementById('export_filters_social_work_type_filter_enabled')) {
const i18n = _createI18n({});
const app = createApp({
@ -9,5 +10,5 @@ const app = createApp({
})
.use(i18n)
.component('app', App)
.mount('#export_export')
;
.mount('#export_export');
}