diff --git a/src/tools/blockDistribution/App.vue b/src/tools/blockDistribution/App.vue index d84824a2..90ea2609 100644 --- a/src/tools/blockDistribution/App.vue +++ b/src/tools/blockDistribution/App.vue @@ -71,7 +71,8 @@ function plot( const marginLeft = 60 const totalPoints: Block[] = [] - if (blockMapFiltered.length > 1 && showTotal) { + + if (enabledBlocks.value.length > 1 && showTotal) { // Also add a group for the total count. const total = [] for (let i = domain[0]; i <= domain[1]; i++) {