lint
This commit is contained in:
parent
88b93788ef
commit
8eb5ab3cda
7 changed files with 16 additions and 16 deletions
|
|
@ -5,12 +5,10 @@ import { defineAsyncComponent } from 'vue'
|
|||
import { useInstanceStore } from 'src/stores/instance.js'
|
||||
import { useInterfaceStore } from 'src/stores/interface'
|
||||
import { useMergedConfigStore } from 'src/stores/merged_config.js'
|
||||
import { useUsersStore } from 'src/stores/users.js'
|
||||
import { useStreamingStore } from 'src/stores/streaming.js'
|
||||
import { useUsersStore } from 'src/stores/users.js'
|
||||
|
||||
import {
|
||||
WSConnectionStatus,
|
||||
} from 'src/api/websocket.js'
|
||||
import { WSConnectionStatus } from 'src/api/websocket.js'
|
||||
|
||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||
import {
|
||||
|
|
@ -20,13 +18,13 @@ import {
|
|||
faComments,
|
||||
faHome,
|
||||
faInfoCircle,
|
||||
faPlug,
|
||||
faPlugCircleXmark,
|
||||
faSearch,
|
||||
faSignInAlt,
|
||||
faSignOutAlt,
|
||||
faTachometerAlt,
|
||||
faUserPlus,
|
||||
faPlug,
|
||||
faPlugCircleXmark
|
||||
} from '@fortawesome/free-solid-svg-icons'
|
||||
|
||||
library.add(
|
||||
|
|
@ -42,7 +40,7 @@ library.add(
|
|||
faCog,
|
||||
faInfoCircle,
|
||||
faPlug,
|
||||
faPlugCircleXmark
|
||||
faPlugCircleXmark,
|
||||
)
|
||||
|
||||
export default {
|
||||
|
|
@ -103,7 +101,7 @@ export default {
|
|||
}),
|
||||
...mapState(useUsersStore, ['currentUser']),
|
||||
...mapState(useStreamingStore, {
|
||||
streamingConnected: (store) => store.state === WSConnectionStatus.JOINED
|
||||
streamingConnected: (store) => store.state === WSConnectionStatus.JOINED,
|
||||
}),
|
||||
...mapState(useMergedConfigStore, ['mergedConfig']),
|
||||
shouldConfirmLogout() {
|
||||
|
|
@ -118,7 +116,7 @@ export default {
|
|||
} else {
|
||||
return this.$t('timeline.socket_disconnected')
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
scrollToTop() {
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@
|
|||
class="fa-scale-110 fa-old-padding"
|
||||
icon="plug"
|
||||
/>
|
||||
|
||||
<FAIcon
|
||||
v-else
|
||||
fixed-width
|
||||
|
|
|
|||
|
|
@ -12,9 +12,9 @@ import { useInstanceCapabilitiesStore } from 'src/stores/instance_capabilities.j
|
|||
import { useLocalConfigStore } from 'src/stores/local_config.js'
|
||||
import { useMergedConfigStore } from 'src/stores/merged_config.js'
|
||||
import { useOAuthStore } from 'src/stores/oauth.js'
|
||||
import { useStreamingStore } from 'src/stores/streaming.js'
|
||||
import { useSyncConfigStore } from 'src/stores/sync_config.js'
|
||||
import { useUsersStore } from 'src/stores/users.js'
|
||||
import { useStreamingStore } from 'src/stores/streaming.js'
|
||||
|
||||
import { updateProfile } from 'src/api/user.js'
|
||||
import localeService from 'src/services/locale/locale.service.js'
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@ import EmojiPicker from '../emoji_picker/emoji_picker.vue'
|
|||
import { useInstanceStore } from 'src/stores/instance.js'
|
||||
import { useInstanceCapabilitiesStore } from 'src/stores/instance_capabilities.js'
|
||||
import { useMergedConfigStore } from 'src/stores/merged_config.js'
|
||||
import { useUsersStore } from 'src/stores/users.js'
|
||||
import { useStatusesStore } from 'src/stores/statuses.js'
|
||||
import { useUsersStore } from 'src/stores/users.js'
|
||||
|
||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||
import {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import { useInstanceStore } from 'src/stores/instance.js'
|
||||
import { useInterfaceStore } from 'src/stores/interface.js'
|
||||
import { useUsersStore } from 'src/stores/users.js'
|
||||
import { useMergedConfigStore } from 'src/stores/merged_config.js'
|
||||
import { useUsersStore } from 'src/stores/users.js'
|
||||
|
||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||
import { faPeopleGroup, faRobot } from '@fortawesome/free-solid-svg-icons'
|
||||
|
|
|
|||
|
|
@ -152,7 +152,7 @@ export const useStreamingStore = defineStore('streaming', {
|
|||
},
|
||||
onOpen() {
|
||||
this.retryMultiplier = 1
|
||||
this.retrying = false,
|
||||
this.retrying = false
|
||||
this.error = null
|
||||
this.subscribers.forEach(({ stream, et }) => {
|
||||
et.dispatchEvent(new StreamStateEvent('open'))
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ export const useTimelinesStore = defineStore('timelines', {
|
|||
timelineName === 'favourites' &&
|
||||
!useInstanceCapabilitiesStore().pleromaPublicFavouritesAvailable
|
||||
) {
|
||||
console.warn('Instance doesn\'t support public favorites timeline')
|
||||
console.warn("Instance doesn't support public favorites timeline")
|
||||
return
|
||||
}
|
||||
|
||||
|
|
@ -227,7 +227,10 @@ export const useTimelinesStore = defineStore('timelines', {
|
|||
|
||||
if (status.visibility === 'direct') {
|
||||
if (timeline !== this.dms) {
|
||||
this.addStatusesToTimeline('dms', null, { statuses: [status], nested: true })
|
||||
this.addStatusesToTimeline('dms', null, {
|
||||
statuses: [status],
|
||||
nested: true,
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue