From d82070c00efd171710ea1ebe54e01a78ccda5a0a Mon Sep 17 00:00:00 2001 From: Matt Blenkinsop Date: Wed, 17 Jul 2024 08:36:16 +0000 Subject: [PATCH] Bug 37288: Improve display of data provider edit form This patch makes some improvements to the edit form for data providers. It delays page display until the counter registry has responded and also improves the display of the "create manually" and "Create from registry" buttons Test plan: 1) Create a Data provider in the ERM module 2) Click to edit that new provider 3) The page will load and there will be a slight delay before the Data provider name input is populated 4) The "Create manually" button will also be visible 5) Apply patch and yarn build 6) Hard refresh the browser and repeat steps 1 and 2 7) This time when the page loads the provider name should be prepopulated and no manual creation button will be visible Signed-off-by: David Nind Signed-off-by: Martin Renvoize --- .../ERM/UsageStatisticsDataProvidersFormAdd.vue | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsDataProvidersFormAdd.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsDataProvidersFormAdd.vue index a935459249e..8311922e2b2 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsDataProvidersFormAdd.vue +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsDataProvidersFormAdd.vue @@ -59,7 +59,10 @@ {{ $__("Required") }}