Explorar o código

fix(sidebar): put tab at the end after drag-and-drop between groups

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

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

@@ -463,7 +463,7 @@ lastWinTabIndexInGroup gid =
   A.mapWithIndex (Tuple)
     >>> A.filter (T.snd >>> T.snd >>> (==) gid)
     >>> map T.fst
-    >>> A.head
+    >>> A.last
 
 findNextGroupId :: S.Set GroupId -> GroupId
 findNextGroupId values =