From ae5153c22faf885358238bb85de2eb43acad85fc Mon Sep 17 00:00:00 2001 From: cloudaiminer <163495234+cloudaiminer@users.noreply.github.com> Date: Wed, 11 Dec 2024 23:31:56 +0800 Subject: [PATCH] fix typo in pricemarket chart when clicking the volume tab of the chat, hover tip remains Price, should be Volume --- src/components/charts/PriceMarketChart.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/charts/PriceMarketChart.vue b/src/components/charts/PriceMarketChart.vue index b86876e0..8b6ffc00 100644 --- a/src/components/charts/PriceMarketChart.vue +++ b/src/components/charts/PriceMarketChart.vue @@ -16,7 +16,7 @@ const kind = ref('price'); const series = computed(() => { return [ { - name: 'Price', + name: kind.value === 'price' ? 'Price' : 'Volume', data: kind.value === 'price' ? store.marketData.prices.map((item: any) => item[1])