Skip to content

Handle site bar focus for sub-sections

Martyn Welch requested to merge wip/martyn/T6572-tweak-section-focus into master

Currently if a sitebar item is a sub-section rather than a page, focus and highlighting is not applied to the section heading. This is because the current section is not the first level section, it's the sub-section.

Tweak the logic to compare first level sections.

Signed-off-by: Martyn Welch martyn.welch@collabora.com

Merge request reports

Loading