From 9be7dab4a1ce4cc13de012c58023a363b21fbcb9 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 4 Apr 2023 15:51:51 +0200 Subject: [PATCH] Bug 33408: Fetch sysprefs from svc/config/systempreferences It will be easier to mock/set them from cypress tests. Sponsored-by: BULAC - http://www.bulac.fr/ Signed-off-by: Pedro Amorim Signed-off-by: Martin Renvoize Signed-off-by: Tomas Cohen Arazi --- .../prog/js/vue/components/ERM/Main.vue | 132 +++++++++++------- .../fetch/system-preferences-api-client.js | 4 + svc/config/systempreferences | 30 ++++ 3 files changed, 116 insertions(+), 50 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/Main.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/Main.vue index 26e73eaf20..b9d48342f9 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/Main.vue +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/Main.vue @@ -1,5 +1,5 @@