diff --git a/src/components/quick_filter_settings/quick_filter_settings.js b/src/components/quick_filter_settings/quick_filter_settings.js index db4b81af8..13e97452e 100644 --- a/src/components/quick_filter_settings/quick_filter_settings.js +++ b/src/components/quick_filter_settings/quick_filter_settings.js @@ -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' diff --git a/src/components/settings_modal/tabs/filtering_tab.js b/src/components/settings_modal/tabs/filtering_tab.js index 1152aa697..601483106 100644 --- a/src/components/settings_modal/tabs/filtering_tab.js +++ b/src/components/settings_modal/tabs/filtering_tab.js @@ -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, diff --git a/src/components/timeline/timeline.js b/src/components/timeline/timeline.js index 97558bc01..38ee99931 100644 --- a/src/components/timeline/timeline.js +++ b/src/components/timeline/timeline.js @@ -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 diff --git a/src/stores/fetchers/notifications_fetcher.js b/src/stores/fetchers/notifications_fetcher.js index cde444d91..5403d59c9 100644 --- a/src/stores/fetchers/notifications_fetcher.js +++ b/src/stores/fetchers/notifications_fetcher.js @@ -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