Skip to content

Commit

Permalink
fix: active board doesn't load/show trackables on page load
Browse files Browse the repository at this point in the history
This fixes issue #29 where if the active board is not the first board, the board
doesn't scroll into view and the trackables do not appear. It also prevents the
active board from being reset to the first board all the time on page load.
  • Loading branch information
donalmacanri committed Jan 21, 2023
1 parent d70f2b1 commit 784f6a5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/domains/board/Uniboard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,6 @@
!lastActiveId.length &&
swiper
) {
lastActiveId = $UniboardStore.activeId
setActiveBoard($UniboardStore.activeId)
initialBoardActived = true
}
Expand Down

0 comments on commit 784f6a5

Please sign in to comment.