#65304Backend (TCA): TreeView: maxLevels not working correctly
Description
Hi,
currently the maxLevels for TreeViews in Backend are not working correctly.
I attached Screenshots to make clear the current state and the state that is reached by using the Patch I posted to review.
Currently if one uses maxLevels 0, instead of only seeing the root category, one actually is presented of nodes up to level 2 (if one would specify the levels in nonSelectableLevels), with maxLevels it is up to level 3.