Selaa lähdekoodia

fix(Sidebar): activate the group when moving a tab between groups

Correctly show/hide tabs when moving a tab from a group. Otherwise the
shown tab would still be the previous ones.
Jocelyn Boullier 4 vuotta sitten
vanhempi
commit
8b7baad410
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      src/Sidebar/Components/Bar.purs

+ 1 - 0
src/Sidebar/Components/Bar.purs

@@ -253,6 +253,7 @@ handleAction =
           H.raise $ SbMoveTab tid newTabIndex
           H.raise $ SbActivateTab tid
           H.raise $ SbChangeTabGroup tid (Just toGroup)
+          void $ handleTabsQuery $ Tabs.TabActivated (Just tid) tid Nothing
 
         sidebarMoveTab 
           :: TabId