Skip to content

Commit

Permalink
fix: active board doesn't load/show trackables on page load (#30)
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 23, 2023
1 parent b0e41b7 commit ef7d273
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 ef7d273

Please sign in to comment.