From 28c8e93a61e8dc779ed0eafddbc1481fbaf248ae Mon Sep 17 00:00:00 2001 From: Jon Date: Fri, 28 Mar 2025 10:53:49 +0100 Subject: [PATCH] refactor: refs #8363 clone fixed price in same dialog as create, changed item filter and vncolor height --- src/components/common/VnColor.vue | 2 +- src/pages/Item/ItemFixedPrice.vue | 24 ++++++++++++------- .../Item/components/EditFixedPriceForm.vue | 2 +- 3 files changed, 17 insertions(+), 11 deletions(-) diff --git a/src/components/common/VnColor.vue b/src/components/common/VnColor.vue index 614a6cd26..dccbc7102 100644 --- a/src/components/common/VnColor.vue +++ b/src/components/common/VnColor.vue @@ -10,7 +10,7 @@ const $props = defineProps({ const colorArray = computed(() => JSON.parse($props.colors)?.value); const maxHeight = 30; -const colorHeight = maxHeight / colorArray?.length; +const colorHeight = maxHeight / colorArray.value?.length;