Skip to content

Commit

Permalink
fix: toggle of glossary and activity panel
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Eng committed Sep 5, 2018
1 parent e704fba commit 7cdb12c
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -160,6 +160,7 @@ class TranslationInfoPanel extends React.Component {
activityVisible ? activityTabKey
: glossaryVisible ? glossaryTabKey
: activityTabKey

return (
<React.Fragment>
<h1 className="SidebarEditor-heading">
Expand All @@ -184,7 +185,7 @@ class TranslationInfoPanel extends React.Component {
</div>

<span id="SidebarEditor-tabsPane1">
<Tabs defaultActiveKey={activePanelKey}
<Tabs activeKey={activePanelKey}
onTabClick={this.handleSelectTab}>
<TabPane key={activityTabKey} tab={
<span>
Expand Down

0 comments on commit 7cdb12c

Please sign in to comment.