Skip to content

Fixes the sidebar_collapsed resetting

Phil Hughes requested to merge new-sidebar-cookie-fix into master

What does this MR do?

This stops the new sidebar render code from running when there is no sidebar on the page. If the code did run, it would actually be resetting the cookie & therefore making the sidebar un-collapsed again. This is incorrect & the only way the cookie should be reset is if the user explicitly expands the sidebar.

Merge request reports