Skip to content

Commit

Permalink
Fix wrong nodes count
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrl-escp committed Jun 7, 2024
1 parent 3e4622c commit 7747cb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/NodesList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ onMounted(() => {
<button class="prev-page" title="Previous page" @click="prevPage">&lt;</button>
<button class="next-page" title="Next page" @click="nextPage">&gt;</button>
</span>
<span>{{pageRange}} / {{ store.filteredNodes.length }}{{isFiltered ? ' filtered' : ''}} out of {{store.ast.length}} nodes</span>
<span>{{pageRange}} / {{ store[store.areFiltersActive ? 'filteredNodes' : 'ast'].length}}{{isFiltered ? ' filtered' : ''}} out of {{store.ast.length}} nodes</span>
</legend>
<legend v-else>Nodes</legend>
<div v-for="node of pagedNodes" :key="node.nodeId" class="node-container" :data-nodeid="node.nodeId" @click="highlightCode(node)">
Expand Down

0 comments on commit 7747cb3

Please sign in to comment.