From f81dfb32743fe54ccc342ebee7f528375f115ee4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Odini?= Date: Tue, 25 Jun 2024 16:49:11 +0200 Subject: [PATCH] refactor(price card): rename components for clarification (#664) --- src/components/PriceFooterRow.vue | 8 ++++---- src/components/ProofCard.vue | 2 +- src/components/{PriceProof.vue => ProofChip.vue} | 2 +- src/components/{PriceOwnerChip.vue => UserChip.vue} | 8 ++++---- src/i18n/locales/en.json | 1 + src/views/AddPriceSingle.vue | 2 +- 6 files changed, 12 insertions(+), 11 deletions(-) rename src/components/{PriceProof.vue => ProofChip.vue} (95%) rename src/components/{PriceOwnerChip.vue => UserChip.vue} (76%) diff --git a/src/components/PriceFooterRow.vue b/src/components/PriceFooterRow.vue index 49d6643b401..97cb1feefcf 100644 --- a/src/components/PriceFooterRow.vue +++ b/src/components/PriceFooterRow.vue @@ -2,9 +2,9 @@ - + - + @@ -19,9 +19,9 @@ import { useAppStore } from '../store' export default { components: { LocationChip: defineAsyncComponent(() => import('../components/LocationChip.vue')), - PriceOwnerChip: defineAsyncComponent(() => import('../components/PriceOwnerChip.vue')), + UserChip: defineAsyncComponent(() => import('../components/UserChip.vue')), RelativeDateTimeChip: defineAsyncComponent(() => import('../components/RelativeDateTimeChip.vue')), - PriceProof: defineAsyncComponent(() => import('../components/PriceProof.vue')), + ProofChip: defineAsyncComponent(() => import('../components/ProofChip.vue')), PriceActionMenuButton: defineAsyncComponent(() => import('../components/PriceActionMenuButton.vue')), }, props: { diff --git a/src/components/ProofCard.vue b/src/components/ProofCard.vue index 1a8615f6662..51718a85ad3 100644 --- a/src/components/ProofCard.vue +++ b/src/components/ProofCard.vue @@ -1,7 +1,7 @@