Permalink
Browse files

Merge pull request #843 from Microsoft/toanzian/resource-collapse

Clicking on 'Resources' nav button will now collapse the explorer if …
  • Loading branch information...
tonyanziano committed Sep 12, 2018
2 parents 0ce6f03 + 789a508 commit d223ca82bbfa66c9515f4c90152478cc90d71fb8
Showing with 2 additions and 5 deletions.
  1. +2 −5 packages/app/client/src/ui/shell/navBar/navBar.tsx
@@ -81,6 +81,8 @@ export class NavBarComponent extends React.Component<NavBarProps, NavBarState> {
switch (index) {
// Bot Explorer
case 0:
// Resources
case 1:
// Notifications
case 2:
if (currentSelection === selectionMap[index]) {
@@ -95,11 +97,6 @@ export class NavBarComponent extends React.Component<NavBarProps, NavBarState> {
}
break;
// Resources
case 1:
this.props.navBarSelectionChanged(selectionMap[index]);
break;
// Settings
default:
this.props.openEmulatorSettings();

0 comments on commit d223ca8

Please sign in to comment.