wip: desktop work
This commit is contained in:
parent
bb82d43094
commit
c04e892991
3 changed files with 32 additions and 16 deletions
|
|
@ -467,6 +467,11 @@ function init() {
|
|||
return sync.session.get(store.active)
|
||||
})
|
||||
|
||||
createEffect(() => {
|
||||
if (!store.active) return
|
||||
sync.session.sync(store.active)
|
||||
})
|
||||
|
||||
return {
|
||||
active,
|
||||
setActive(sessionId: string | undefined) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue