Przeglądaj źródła

BugFix of GlobalItem

Yuki Takei 6 lat temu
rodzic
commit
eac8235839
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      src/client/js/components/Sidebar/SidebarNav.jsx

+ 1 - 0
src/client/js/components/Sidebar/SidebarNav.jsx

@@ -34,6 +34,7 @@ class SidebarNav extends React.Component {
 
     return {
       id,
+      onClick: () => this.itemSelectedHandler(id),
       component: ({ className, onClick }) => (
         <div className={`${className} grw-global-item-container ${isSelected ? 'active' : ''}`}>
           <GlobalItem