Bug: block.blocks.size includes disabled blocks #99
dhruveonmars
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
While
section.blockshas always only outputted the active blocks, doingsection.blocks.sizewould output 3 if there are 3 active blocks, and any number of disabled blocks wouldn't count towards that figure, it seems that doingblock.blocks.sizeincludes disabled blocks, which means we can't correctly utiliseif block.blocks.size > 0which seems incorrect to meBeta Was this translation helpful? Give feedback.
All reactions