From 83676b32653919e99feaec86200122960ea30243 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 b47078d888..eabfdd3270 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 05ef5f252d..d7c09ecf7e 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 @@ -340,8 +340,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 @@ -350,8 +348,6 @@ export default { format_date, patron_to_html, get_lib_from_av, - setConfirmationDialog, - setMessage, } }, data() { -- 2.39.5