From 3f4ef3381cd7633c41614f1944bae641d54f1370 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 11 Jul 2024 15:09:38 +0200 Subject: [PATCH] Bug 37301: (follow-up) PoC (Continuation): Add BaseResource and AgreementResource To squash with previous patch --- .../prog/js/vue/components/ERM/AgreementsList.vue | 4 ---- .../prog/js/vue/components/ERM/AgreementsShow.vue | 4 ---- 2 files changed, 8 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsList.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsList.vue index b47078d888e..eabfdd32702 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsList.vue +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsList.vue @@ -77,8 +77,6 @@ export default { const AVStore = inject("AVStore") const { get_lib_from_av, map_av_dt_filter } = AVStore - const { setConfirmationDialog, setMessage } = inject("mainStore") - const table = ref() const filters = reactive({ @@ -93,8 +91,6 @@ export default { map_av_dt_filter, logged_in_user, table, - setConfirmationDialog, - setMessage, escape_str, agreement_table_settings, filters, diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsShow.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsShow.vue index cf2ce0319dc..0867e15bd03 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsShow.vue +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsShow.vue @@ -341,8 +341,6 @@ export default { const format_date = $date const patron_to_html = $patron_to_html - const { setConfirmationDialog, setMessage } = inject("mainStore") - const AVStore = inject("AVStore") const { get_lib_from_av } = AVStore @@ -351,8 +349,6 @@ export default { format_date, patron_to_html, get_lib_from_av, - setConfirmationDialog, - setMessage, } }, data() { -- 2.39.5