lint
This commit is contained in:
parent
1e60d5ada0
commit
9a263692ea
4 changed files with 4 additions and 9 deletions
|
|
@ -6,8 +6,8 @@ import { useInterfaceStore } from 'src/stores/interface.js'
|
|||
import { useLocalConfigStore } from 'src/stores/local_config.js'
|
||||
import { useMergedConfigStore } from 'src/stores/merged_config.js'
|
||||
import { useSyncConfigStore } from 'src/stores/sync_config.js'
|
||||
import { useUsersStore } from 'src/stores/users.js'
|
||||
import { useTimelinesStore } from 'src/stores/timelines.js'
|
||||
import { useUsersStore } from 'src/stores/users.js'
|
||||
|
||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||
import { faFilter, faFont, faWrench } from '@fortawesome/free-solid-svg-icons'
|
||||
|
|
|
|||
|
|
@ -14,8 +14,8 @@ import UnitSetting from '../helpers/unit_setting.vue'
|
|||
import { useInstanceCapabilitiesStore } from 'src/stores/instance_capabilities.js'
|
||||
import { useInterfaceStore } from 'src/stores/interface'
|
||||
import { useMergedConfigStore } from 'src/stores/merged_config.js'
|
||||
import { useTimelinesStore } from 'src/stores/timelines.js'
|
||||
import { useSyncConfigStore } from 'src/stores/sync_config.js'
|
||||
import { useTimelinesStore } from 'src/stores/timelines.js'
|
||||
|
||||
import {
|
||||
newExporter,
|
||||
|
|
|
|||
|
|
@ -103,9 +103,7 @@ const Timeline = {
|
|||
},
|
||||
statusesToDisplay() {
|
||||
if (!this.virtualScrollingEnabled) {
|
||||
return new Set(
|
||||
this.filteredVisibleStatuses.map(({ id }) => id),
|
||||
)
|
||||
return new Set(this.filteredVisibleStatuses.map(({ id }) => id))
|
||||
}
|
||||
|
||||
const amount = this.timeline.visibleStatusIds.size
|
||||
|
|
|
|||
|
|
@ -84,10 +84,7 @@ const notificationsFetcher = (credentials) => {
|
|||
return await fetchNotifications({ args, older })
|
||||
} else {
|
||||
// fetch new notifications
|
||||
if (
|
||||
sinceId === undefined &&
|
||||
timelineData.maxId !== ''
|
||||
) {
|
||||
if (sinceId === undefined && timelineData.maxId !== '') {
|
||||
args.sinceId = timelineData.maxId
|
||||
} else if (sinceId !== null) {
|
||||
args.sinceId = sinceId
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue