Explorar o código

fix(Sidebar): put tab at the end when moving it between groups

Jocelyn Boullier %!s(int64=4) %!d(string=hai) anos
pai
achega
c46163e4df
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/Sidebar/Components/Bar.purs

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

@@ -524,6 +524,7 @@ lastWinTabIndexInGroup gid =
     >>> A.filter (T.snd >>> T.snd >>> (==) gid)
     >>> map T.fst
     >>> A.last
+    >>> map ((+) 1)
 
 findNextGroupId :: S.Set GroupId -> GroupId
 findNextGroupId values =