fix unwrapped refs
This commit is contained in:
parent
a30176bfc2
commit
16e89d0a90
2 changed files with 3 additions and 3 deletions
|
|
@ -121,10 +121,10 @@ const Notifications = {
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
loading() {
|
loading() {
|
||||||
return useNotificationsStore().fetcher.loading.value
|
return useNotificationsStore().fetcher.loading
|
||||||
},
|
},
|
||||||
bottomedOut() {
|
bottomedOut() {
|
||||||
return useNotificationsStore().fetcher.bottomedOut.value
|
return useNotificationsStore().fetcher.bottomedOut
|
||||||
},
|
},
|
||||||
noHeading() {
|
noHeading() {
|
||||||
const { layoutType } = useInterfaceStore()
|
const { layoutType } = useInterfaceStore()
|
||||||
|
|
|
||||||
|
|
@ -239,7 +239,7 @@ const Timeline = {
|
||||||
const bodyBRect = document.body.getBoundingClientRect()
|
const bodyBRect = document.body.getBoundingClientRect()
|
||||||
const height = Math.max(bodyBRect.height, -bodyBRect.y)
|
const height = Math.max(bodyBRect.height, -bodyBRect.y)
|
||||||
if (
|
if (
|
||||||
!this.timeline.fetcher.loadingOlder.value &&
|
!this.timeline.fetcher.loadingOlder &&
|
||||||
window.innerHeight + window.pageYOffset >= height - 750
|
window.innerHeight + window.pageYOffset >= height - 750
|
||||||
) {
|
) {
|
||||||
this.fetchOlderStatuses()
|
this.fetchOlderStatuses()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue