forked from galaxyproject/galaxy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
for "panel activities" only toggle sideBar if
route !== activity.to
Alter the way the `ActivityBar` treats "panel activities"; i.e.: activities that have a sideBar associated, so that if the sidebar is active but the current route isn't `activity.to`, then keep sidebar active and just change route. Also, if `activity.to` is current route, always keep activity's `is-active` prop = true regardless of sidebar for the activity being active or not.
- Loading branch information
1 parent
6f9f122
commit a98be64
Showing
1 changed file
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters