Skip to content

Commit

Permalink
explorer: add number of displayed entries on table header
Browse files Browse the repository at this point in the history
  • Loading branch information
deuch13 committed Jun 19, 2024
1 parent b639632 commit 185af1a
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ exports[`Blocks Card > should disable the \`Show More\` button if there is no mo
<h1
class="data-card__header-title"
>
Blocks
Blocks - 10 Displayed Items
</h1>
<button
Expand Down Expand Up @@ -2627,7 +2627,7 @@ exports[`Blocks Card > should disable the \`Show More\` button is the card is in
<h1
class="data-card__header-title"
>
Blocks
Blocks - 0 Displayed Items
</h1>
<button
Expand Down Expand Up @@ -2664,7 +2664,7 @@ exports[`Blocks Card > should render the \`BlocksCard\` component 1`] = `
<h1
class="data-card__header-title"
>
Blocks
Blocks - 0 Displayed Items
</h1>
<button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ exports[`Transactions Card > should disable the \`Show More\` button if the card
<h1
class="data-card__header-title"
>
Transactions
Transactions - 0 Displayed Items
</h1>
<button
Expand Down Expand Up @@ -48,7 +48,7 @@ exports[`Transactions Card > should disable the \`Show More\` button if there is
<h1
class="data-card__header-title"
>
Transactions
Transactions - 10 Displayed Items
</h1>
<button
Expand Down Expand Up @@ -3031,7 +3031,7 @@ exports[`Transactions Card > should render the \`TransactionsCard\` component 1`
<h1
class="data-card__header-title"
>
Transactions
Transactions - 0 Displayed Items
</h1>
<button
Expand Down
2 changes: 1 addition & 1 deletion explorer/src/lib/components/blocks-card/BlocksCard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
data={blocks}
{error}
{loading}
title="Blocks"
title="Blocks - {displayedBlocks.length} Displayed Items"
headerButtonDetails={{
action: () => loadMoreItems(),
disabled: isLoadMoreDisabled,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
data={txns}
{error}
{loading}
title="Transactions"
title="Transactions - {displayedTxns.length} Displayed Items"
headerButtonDetails={{
action: () => loadMoreItems(),
disabled: isLoadMoreDisabled,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ exports[`Blocks page > should render the Blocks page, start polling for blocks a
<h1
class="data-card__header-title"
>
Blocks
Blocks - 0 Displayed Items
</h1>
<button
Expand Down Expand Up @@ -59,7 +59,7 @@ exports[`Blocks page > should render the Blocks page, start polling for blocks a
<h1
class="data-card__header-title"
>
Blocks
Blocks - 15 Displayed Items
</h1>
<button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ exports[`Transactions page > should render the Transactions page, start polling
<h1
class="data-card__header-title"
>
Transactions
Transactions - 0 Displayed Items
</h1>
<button
Expand Down Expand Up @@ -59,7 +59,7 @@ exports[`Transactions page > should render the Transactions page, start polling
<h1
class="data-card__header-title"
>
Transactions
Transactions - 15 Displayed Items
</h1>
<button
Expand Down

0 comments on commit 185af1a

Please sign in to comment.