Skip to content

Commit

Permalink
feat: adapt adjusted graph types
Browse files Browse the repository at this point in the history
  • Loading branch information
tmrdlt authored and mmpetarpeshev committed Nov 19, 2024
1 parent cf4d9a8 commit ae2a4ca
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/views/PoolDetailView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,14 @@
<PriceHistoryGraph
v-if="pair"
:available-graph-types="[
{ type: 'Price0_1', text: `${pair?.token1.symbol} / ${pair?.token0.symbol} Price` },
{ type: 'Price1_0', text: `${pair?.token0.symbol} / ${pair?.token1.symbol} Price` },
{
type: 'PriceToken1InToken0',
text: `${pair?.token1.symbol} / ${pair?.token0.symbol} Price`,
},
{
type: 'PriceToken0InToken1',
text: `${pair?.token0.symbol} / ${pair?.token1.symbol} Price`,
},
{ type: 'TVL', text: 'TVL' },
{ type: 'Fees', text: 'Fees' },
{ type: 'Volume', text: 'Volume' },
Expand All @@ -42,7 +48,7 @@
})
"
>
{{ $t('poolDetail.swap') }}x
{{ $t('poolDetail.swap') }}
</ButtonDefault>
<ButtonDefault
fill="light"
Expand Down

0 comments on commit ae2a4ca

Please sign in to comment.