simplygoodwork / craft-block-usage

See how Matrix and Neo blocks are being used across your sections
MIT License
2 stars 3 forks source link

Fixing recursive parameter problem that prevents neo blocks from work… #3

Closed LinneaHarts closed 1 year ago

LinneaHarts commented 1 year ago

…ing with more than 2 levels

I found a problem with calling _getNeoChildBlocks recursively in BlockUsageService, and which was causing an error on Neo blocks with more than two levels of nesting. This fixes the problem in this issue: https://github.com/simplygoodwork/craft-block-usage/issues/2