Skip to content

Commit 3e4622c

Browse files
committed
Fix wrong nodes count
1 parent b5ec836 commit 3e4622c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/components/NodesList.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ onMounted(() => {
5656
<button class="prev-page" title="Previous page" @click="prevPage">&lt;</button>
5757
<button class="next-page" title="Next page" @click="nextPage">&gt;</button>
5858
</span>
59-
<span>{{pageRange}} / {{ store.ast.length }}{{isFiltered ? ' filtered' : ''}} out of {{store.ast.length}} nodes</span>
59+
<span>{{pageRange}} / {{ store.filteredNodes.length }}{{isFiltered ? ' filtered' : ''}} out of {{store.ast.length}} nodes</span>
6060
</legend>
6161
<legend v-else>Nodes</legend>
6262
<div v-for="node of pagedNodes" :key="node.nodeId" class="node-container" :data-nodeid="node.nodeId" @click="highlightCode(node)">

0 commit comments

Comments
 (0)