Skip to content

Commit c80e8fd

Browse files
committed
fix(LatestPFBTable): tx icon
1 parent a1f40e1 commit c80e8fd

File tree

4 files changed

+19
-6
lines changed

4 files changed

+19
-6
lines changed

components/data/LatestPFBTable.vue

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ isLoading.value = false
4848
<Flex align="center" gap="10">
4949
<Flex align="center" gap="8">
5050
<Icon
51-
:name="pfb.status === 'success' ? 'tx_success' : 'tx_error'"
51+
:name="pfb.status === 'success' ? 'check-circle' : 'close-circle'"
5252
size="14"
53-
color="secondary"
53+
:color="pfb.status === 'success' ? 'green' : 'red'"
5454
/>
5555

5656
<Text size="13" weight="600" color="primary" mono>
@@ -70,7 +70,20 @@ isLoading.value = false
7070
</Flex>
7171

7272
<template #content>
73-
{{ space(pfb.hash.toUpperCase()) }}
73+
<Flex direction="column" gap="6">
74+
<Flex align="center" gap="4">
75+
<Icon
76+
:name="pfb.status === 'success' ? 'check-circle' : 'close-circle'"
77+
size="13"
78+
:color="pfb.status === 'success' ? 'green' : 'red'"
79+
/>
80+
<Text size="13" weight="600" color="primary">
81+
{{ pfb.status === "success" ? "Successful" : "Failed" }} Transaction
82+
</Text>
83+
</Flex>
84+
85+
{{ space(pfb.hash.toUpperCase()) }}
86+
</Flex>
7487
</template>
7588
</Tooltip>
7689
</td>

components/modules/address/AddressOverview.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ const getTxnsCountByTab = (tab) => {
210210
<Flex align="center" gap="4">
211211
<Icon
212212
:name="tx.status === 'success' ? 'check-circle' : 'close-circle'"
213-
size="14"
213+
size="13"
214214
:color="tx.status === 'success' ? 'green' : 'red'"
215215
/>
216216
<Text size="13" weight="600" color="primary">

components/modules/block/BlockOverview.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ const getTxnsCountByTab = (tab) => {
291291
<Flex align="center" gap="4">
292292
<Icon
293293
:name="tx.status === 'success' ? 'check-circle' : 'close-circle'"
294-
size="14"
294+
size="13"
295295
:color="tx.status === 'success' ? 'green' : 'red'"
296296
/>
297297
<Text size="13" weight="600" color="primary">

pages/txs.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ const handlePrev = () => {
218218
<Flex align="center" gap="4">
219219
<Icon
220220
:name="tx.status === 'success' ? 'check-circle' : 'close-circle'"
221-
size="14"
221+
size="13"
222222
:color="tx.status === 'success' ? 'green' : 'red'"
223223
/>
224224
<Text size="13" weight="600" color="primary">

0 commit comments

Comments
 (0)