mirror of
https://akkoma.dev/AkkomaGang/akkoma-fe.git
synced 2024-11-10 02:30:13 +00:00
fix some more warnings
This commit is contained in:
parent
c57af7e242
commit
bdd240a230
2 changed files with 3 additions and 3 deletions
|
@ -43,8 +43,8 @@ const Timeline = {
|
|||
filteredVisibleStatuses () {
|
||||
return this.timeline.visibleStatuses.filter(status => this.timelineName !== 'user' || (status.id >= this.timeline.minId && status.id <= this.timeline.maxId))
|
||||
},
|
||||
filteredPinnedStatusesId () {
|
||||
return this.pinnedStatusIds.filter(statusId => this.timeline.statusesObject[statusId])
|
||||
filteredPinnedStatusIds () {
|
||||
return (this.pinnedStatusIds || []).filter(statusId => this.timeline.statusesObject[statusId])
|
||||
},
|
||||
newStatusCount () {
|
||||
return this.timeline.newStatusCount
|
||||
|
|
|
@ -50,7 +50,7 @@ const enableBodyScroll = (el) => {
|
|||
}
|
||||
|
||||
const directive = {
|
||||
inserted: (el, binding) => {
|
||||
mounted: (el, binding) => {
|
||||
if (binding.value) {
|
||||
disableBodyScroll(el)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue