Skip to content

Commit

Permalink
DPLT-1014 feat: add historical block processing column (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
roshaans committed Jun 19, 2023
1 parent 9a652e3 commit 3ab0a84
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/widgets/src/QueryApi.IndexerStatus.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ const indexerStateDoc = `
status
function_name
current_block_height
current_historical_block_height
}
indexer_state_aggregate(where: {function_name: {_eq: "${accountId}/${indexer_name}"}}) {
aggregate {
Expand Down Expand Up @@ -262,6 +263,7 @@ return (
<tr>
<th>Function Name</th>
<th>Current Block Height</th>
<th>Current Historical Block Height</th>
<th>Status</th>
</tr>
</thead>
Expand All @@ -270,6 +272,7 @@ return (
<tr>
<TableElement>{x.function_name}</TableElement>
<TableElement>{x.current_block_height}</TableElement>
<TableElement>{x.current_historical_block_height}</TableElement>
<TableElement>{x.status}</TableElement>
</tr>
))}
Expand Down

0 comments on commit 3ab0a84

Please sign in to comment.