#21821treeLevel in TSconfig conditions should consider the creation of new pages
Description
The TSconfig condition [treeLevel = 2] counts the level of nestification in the pagetree. However, in the backend new pages could be created and the mentioned condition should consider that situation as well.
PIDupinRootline behaves similar in the backend.
(issue imported from #M12977)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.