Skip to content

Commit c6bcc6d

Browse files
committed
fix(AddressOverview): disable next btn for incomplete list
1 parent 8e77247 commit c6bcc6d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/modules/address/AddressOverview.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -556,18 +556,18 @@ const handleOpenQRModal = () => {
556556
557557
<!-- Pagination -->
558558
<Flex v-if="transactions.length" align="center" gap="6" :class="$style.pagination">
559-
<Button @click="page = 1" type="secondary" size="mini" :disabled="page === 1">
559+
<Button @click="page = 1" type="secondary" size="mini" :disabled="page === 1 || transactions.length !== 10">
560560
<Icon name="arrow-left-stop" size="12" color="primary" />
561561
</Button>
562-
<Button type="secondary" @click="handlePrev" size="mini" :disabled="page === 1">
562+
<Button type="secondary" @click="handlePrev" size="mini" :disabled="page === 1 || transactions.length !== 10">
563563
<Icon name="arrow-left" size="12" color="primary" />
564564
</Button>
565565
566566
<Button type="secondary" size="mini" disabled>
567567
<Text size="12" weight="600" color="primary">Page {{ page }}</Text>
568568
</Button>
569569
570-
<Button @click="handleNext" type="secondary" size="mini">
570+
<Button @click="handleNext" type="secondary" size="mini" :disabled="transactions.length !== 10">
571571
<Icon name="arrow-right" size="12" color="primary" />
572572
</Button>
573573
</Flex>

0 commit comments

Comments
 (0)