File tree Expand file tree Collapse file tree 2 files changed +31
-17
lines changed
components/modules/address Expand file tree Collapse file tree 2 files changed +31
-17
lines changed Original file line number Diff line number Diff line change @@ -513,7 +513,7 @@ const handleOpenQRModal = () => {
513513 < Flex direction= " column" justify= " center" : class = " [$style.tables, isRefetching && $style.disabled]" >
514514 < Flex v- if = " activeTab === 'transactions'" wrap= " wrap" align= " center" gap= " 8" : class = " $style.filters" >
515515 < Popover : open= " isStatusPopoverOpen" @on- close= " onStatusPopoverClose" width= " 200" >
516- < Button @click= " handleOpenStatusPopover" type= " secondary" size= " mini" >
516+ < Button @click= " handleOpenStatusPopover" type= " secondary" size= " mini" : disabled = " !transactions.length " >
517517 < Icon name= " plus-circle" size= " 12" color= " tertiary" / >
518518 < Text color= " secondary" > Status< / Text >
519519
@@ -551,7 +551,7 @@ const handleOpenQRModal = () => {
551551 < / Popover>
552552
553553 < Popover : open= " isMessageTypePopoverOpen" @on- close= " onMessageTypePopoverClose" width= " 250" >
554- < Button @click= " handleOpenMessageTypePopover" type= " secondary" size= " mini" >
554+ < Button @click= " handleOpenMessageTypePopover" type= " secondary" size= " mini" : disabled = " !transactions.length " >
555555 < Icon name= " plus-circle" size= " 12" color= " tertiary" / >
556556 < Text color= " secondary" > Message Type< / Text >
557557
Original file line number Diff line number Diff line change @@ -169,28 +169,42 @@ const handleLast = async () => {
169169 </thead >
170170
171171 <tbody >
172- <tr v-for =" address in addresses" @click = " router.push(`/address/${address.hash}`) " >
172+ <tr v-for =" address in addresses" >
173173 <td style =" width : 1px " >
174- <Tooltip position =" start" delay =" 500" >
175- <Flex align =" center" gap =" 8" >
176- <AddressBadge :hash =" address.hash" />
177-
178- <CopyButton :text =" address.hash" />
179- </Flex >
180-
181- <template #content >
182- {{ address.hash }}
183- </template >
184- </Tooltip >
174+ <NuxtLink :to =" `/address/${address.hash}`" >
175+ <Tooltip position =" start" delay =" 500" >
176+ <Flex align =" center" gap =" 8" >
177+ <AddressBadge :hash =" address.hash" />
178+
179+ <CopyButton :text =" address.hash" />
180+ </Flex >
181+
182+ <template #content >
183+ {{ address.hash }}
184+ </template >
185+ </Tooltip >
186+ </NuxtLink >
185187 </td >
186188 <td >
187- <Text size =" 13" weight =" 600" color =" primary" > {{ comma(tia(address.balance.value)) }} TIA </Text >
189+ <NuxtLink :to =" `/address/${address.hash}`" >
190+ <Text size =" 13" weight =" 600" color =" primary" >
191+ {{ comma(tia(address.balance.value)) }} TIA
192+ </Text >
193+ </NuxtLink >
188194 </td >
189195 <td >
190- <Text size =" 13" weight =" 600" color =" primary" > {{ comma(address.first_height) }} </Text >
196+ <NuxtLink :to =" `/address/${address.hash}`" >
197+ <Text size =" 13" weight =" 600" color =" primary" >
198+ {{ comma(address.first_height) }}
199+ </Text >
200+ </NuxtLink >
191201 </td >
192202 <td >
193- <Text size =" 13" weight =" 600" color =" primary" > {{ comma(address.last_height) }} </Text >
203+ <NuxtLink :to =" `/address/${address.hash}`" >
204+ <Text size =" 13" weight =" 600" color =" primary" >
205+ {{ comma(address.last_height) }}
206+ </Text >
207+ </NuxtLink >
194208 </td >
195209 </tr >
196210 </tbody >
You can’t perform that action at this time.
0 commit comments