Skip to content

Commit 2db448e

Browse files
Legendsmontogeek
Legends
authored andcommitted
fix(ux) Sub-Navigation disappears when Migrate is clicked (#2408)
"migrate" added to: ` isActive: url => /^\/(api|concepts|configuration|guides|loaders|migrate|plugins)/.test(url),`
1 parent d9e8aaa commit 2db448e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Site/Site.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class Site extends React.Component {
5252
{
5353
content: 'Documentation',
5454
url: '/concepts',
55-
isActive: url => /^\/(api|concepts|configuration|guides|loaders|plugins)/.test(url),
55+
isActive: url => /^\/(api|concepts|configuration|guides|loaders|migrate|plugins)/.test(url),
5656
children: this._strip(sections.filter(item => item.name !== 'contribute'))
5757
},
5858
{ content: 'Contribute', url: '/contribute' },

0 commit comments

Comments
 (0)