Expand All/Collapse All link in persona bar pages tree section is displayed as selected and highlighted by default. Regression found in the following PR https://github.com/dnnsoftware/Dnn.AdminExperience/pull/229. Instead of just making Expand/Collapse link clickable when child nodes loaded, the style of link was also changed in a way to make it highlighted regardless of state.
Steps to reproduce
Install DNN Platform from scratch
Login as super user
Go to Persona Bar -> Pages
Current result
Pages screen is displayed. Expand All link in pages tree section is displayed as selected and highlighted in blue color.
Expected result
Expand All should not be highlighted by default on Pages screen. Link should be highlighted depending on whether it is clicked or not.
Description of bug
Expand All/Collapse All link in persona bar pages tree section is displayed as selected and highlighted by default. Regression found in the following PR https://github.com/dnnsoftware/Dnn.AdminExperience/pull/229. Instead of just making Expand/Collapse link clickable when child nodes loaded, the style of link was also changed in a way to make it highlighted regardless of state.
Steps to reproduce
Current result
Pages screen is displayed. Expand All link in pages tree section is displayed as selected and highlighted in blue color.
Expected result
Expand All should not be highlighted by default on Pages screen. Link should be highlighted depending on whether it is clicked or not.
Screenshots
Affected version