Fix SocialWorkTypeFilter: allow null value in date, and avoid vuejs module ExportFormActionGoal to override the export form content

This commit is contained in:
2023-11-23 16:02:55 +01:00
parent eb01c7c203
commit 947b7b90e2
6 changed files with 16 additions and 7 deletions

View File

@@ -1,5 +1,4 @@
<template>
<teleport to="#export_filters_social_work_type_filter_form">
<fieldset class="mb-3" id="actionType">
<div class="row">
@@ -68,8 +67,6 @@
</div>
</div>
</fieldset>
</teleport>
</template>
<script>

View File

@@ -4,11 +4,13 @@ import App from './App.vue';
if (null !== document.getElementById('export_filters_social_work_type_filter_enabled')) {
const i18n = _createI18n({});
const form = document.getElementById('export_filters_social_work_type_filter_form');
const after = form.appendChild(document.createElement('div'));
const app = createApp({
template: `<app></app>`,
})
.use(i18n)
.component('app', App)
.mount('#export_export');
.mount(after);
}