From b563544200c7d11fa012a5cd5e81356ad9305a39 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 28 Oct 2022 17:43:26 +0200 Subject: [PATCH] Bug 32030: Pretty vue files The plan was to rewrite the whole history, but it failed (see https://tree.taiga.io/project/joubu-koha-erm/us/129) yarn run prettier --trailing-comma es5 --semi false --arrow-parens avoid --write **/*.vue TODO - Add a QA check + git pre-commit hook Signed-off-by: Jonathan Field Signed-off-by: Martin Renvoize Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi --- .../vue/components/ERM/AgreementLicenses.vue | 16 +- .../vue/components/ERM/AgreementPeriods.vue | 12 +- .../components/ERM/AgreementRelationships.vue | 14 +- .../vue/components/ERM/AgreementUserRoles.vue | 33 +- .../vue/components/ERM/AgreementsFormAdd.vue | 119 +++-- .../ERM/AgreementsFormConfirmDelete.vue | 31 +- .../js/vue/components/ERM/AgreementsList.vue | 443 +++++++++++------- .../js/vue/components/ERM/AgreementsShow.vue | 16 +- .../prog/js/vue/components/ERM/Breadcrumb.vue | 14 +- .../prog/js/vue/components/ERM/Dialog.vue | 2 +- .../prog/js/vue/components/ERM/Documents.vue | 7 +- .../ERM/EHoldingsEBSCOPackageAgreements.vue | 29 +- .../ERM/EHoldingsEBSCOPackageTitlesList.vue | 156 +++--- .../ERM/EHoldingsEBSCOPackagesList.vue | 225 +++++---- .../ERM/EHoldingsEBSCOPackagesShow.vue | 70 +-- .../ERM/EHoldingsEBSCOResourcesShow.vue | 55 ++- .../ERM/EHoldingsEBSCOTitlePackagesList.vue | 158 ++++--- .../ERM/EHoldingsEBSCOTitlesList.vue | 243 ++++++---- .../ERM/EHoldingsEBSCOTitlesShow.vue | 56 +-- .../ERM/EHoldingsLocalPackageAgreements.vue | 6 +- .../ERM/EHoldingsLocalPackageTitlesList.vue | 133 +++--- .../ERM/EHoldingsLocalPackagesFormAdd.vue | 48 +- ...HoldingsLocalPackagesFormConfirmDelete.vue | 35 +- .../ERM/EHoldingsLocalPackagesList.vue | 322 ++++++++----- .../ERM/EHoldingsLocalPackagesShow.vue | 12 +- .../ERM/EHoldingsLocalResourcesShow.vue | 10 +- .../ERM/EHoldingsLocalTitlePackagesList.vue | 92 ++-- .../ERM/EHoldingsLocalTitlesFormAdd.vue | 125 +++-- .../EHoldingsLocalTitlesFormAddResources.vue | 16 +- .../EHoldingsLocalTitlesFormConfirmDelete.vue | 34 +- .../ERM/EHoldingsLocalTitlesFormImport.vue | 118 +++-- .../ERM/EHoldingsLocalTitlesList.vue | 287 +++++++----- .../ERM/EHoldingsLocalTitlesShow.vue | 56 +-- .../prog/js/vue/components/ERM/ERMHome.vue | 15 +- .../prog/js/vue/components/ERM/ERMMain.vue | 20 +- .../js/vue/components/ERM/LicensesFormAdd.vue | 76 +-- .../ERM/LicensesFormConfirmDelete.vue | 31 +- .../js/vue/components/ERM/LicensesList.vue | 324 +++++++------ .../js/vue/components/ERM/LicensesShow.vue | 15 +- 39 files changed, 2058 insertions(+), 1416 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementLicenses.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementLicenses.vue index 4b523d84c3..46980679ae 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementLicenses.vue +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementLicenses.vue @@ -23,7 +23,7 @@ :id="`license_id_${counter}`" v-model="agreement_license.license_id" label="name" - :reduce="(l) => l.license_id" + :reduce="l => l.license_id" :options="licenses" >