fix: class binding for reactive 'kind' variable

This commit is contained in:
Dmitry 2025-04-05 19:52:11 +03:00 committed by GitHub
parent cca765b4ab
commit 9313153620
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,7 +36,7 @@ function changeChart(type: string) {
<div class="tabs tabs-boxed bg-transparent justify-end">
<a
class="tab text-xs mr-2 text-gray-400 uppercase"
:class="{ 'tab-active': kind === 'price' }"
:class="{ 'tab-active': kind.value === 'price' }"
@click="changeChart('price')"
>
Price