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 { useLocalConfigStore } from 'src/stores/local_config.js'
|
||||||
import { useMergedConfigStore } from 'src/stores/merged_config.js'
|
import { useMergedConfigStore } from 'src/stores/merged_config.js'
|
||||||
import { useSyncConfigStore } from 'src/stores/sync_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 { useTimelinesStore } from 'src/stores/timelines.js'
|
||||||
|
import { useUsersStore } from 'src/stores/users.js'
|
||||||
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import { faFilter, faFont, faWrench } from '@fortawesome/free-solid-svg-icons'
|
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 { useInstanceCapabilitiesStore } from 'src/stores/instance_capabilities.js'
|
||||||
import { useInterfaceStore } from 'src/stores/interface'
|
import { useInterfaceStore } from 'src/stores/interface'
|
||||||
import { useMergedConfigStore } from 'src/stores/merged_config.js'
|
import { useMergedConfigStore } from 'src/stores/merged_config.js'
|
||||||
import { useTimelinesStore } from 'src/stores/timelines.js'
|
|
||||||
import { useSyncConfigStore } from 'src/stores/sync_config.js'
|
import { useSyncConfigStore } from 'src/stores/sync_config.js'
|
||||||
|
import { useTimelinesStore } from 'src/stores/timelines.js'
|
||||||
|
|
||||||
import {
|
import {
|
||||||
newExporter,
|
newExporter,
|
||||||
|
|
|
||||||
|
|
@ -103,9 +103,7 @@ const Timeline = {
|
||||||
},
|
},
|
||||||
statusesToDisplay() {
|
statusesToDisplay() {
|
||||||
if (!this.virtualScrollingEnabled) {
|
if (!this.virtualScrollingEnabled) {
|
||||||
return new Set(
|
return new Set(this.filteredVisibleStatuses.map(({ id }) => id))
|
||||||
this.filteredVisibleStatuses.map(({ id }) => id),
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const amount = this.timeline.visibleStatusIds.size
|
const amount = this.timeline.visibleStatusIds.size
|
||||||
|
|
|
||||||
|
|
@ -84,10 +84,7 @@ const notificationsFetcher = (credentials) => {
|
||||||
return await fetchNotifications({ args, older })
|
return await fetchNotifications({ args, older })
|
||||||
} else {
|
} else {
|
||||||
// fetch new notifications
|
// fetch new notifications
|
||||||
if (
|
if (sinceId === undefined && timelineData.maxId !== '') {
|
||||||
sinceId === undefined &&
|
|
||||||
timelineData.maxId !== ''
|
|
||||||
) {
|
|
||||||
args.sinceId = timelineData.maxId
|
args.sinceId = timelineData.maxId
|
||||||
} else if (sinceId !== null) {
|
} else if (sinceId !== null) {
|
||||||
args.sinceId = sinceId
|
args.sinceId = sinceId
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue