sidebar: Fix redirection loop bug
sidebar: Fix redirection loop bug

Derived from 49923e8a8

yona-projects/yona,doortts/fork-yobi,doortts/fork-yobi,yona-projects/yona,yona-projects/yona,doortts/fork-yobi,doortts/fork-yobi,yona-projects/yona