focusedId shenanigans
This commit is contained in:
parent
5c316ff175
commit
c4b3eff348
3 changed files with 37 additions and 46 deletions
|
|
@ -102,7 +102,6 @@ export default {
|
|||
// # Main things
|
||||
const {
|
||||
focusedId,
|
||||
focusedIdRaw,
|
||||
conversationId,
|
||||
setFocused,
|
||||
currentStatus,
|
||||
|
|
@ -321,8 +320,8 @@ export default {
|
|||
}
|
||||
const diveIntoStatus = (id) => scrollTo(new Set([id]))
|
||||
const diveToTopLevel = () => scrollTo(new Set([currentAncestors.value[0].id]))
|
||||
watch(focusedIdRaw, async (neu) => {
|
||||
if (!isPage.value) return
|
||||
|
||||
watch(focusedId, async (neu, old) => {
|
||||
if (neu) scrollTo(new Set([neu]))
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue