lint
This commit is contained in:
parent
5d1f3c1cee
commit
15fe1b9c32
3 changed files with 32 additions and 23 deletions
|
|
@ -1,4 +1,3 @@
|
|||
import { get } from 'lodash-es'
|
||||
import { storeToRefs } from 'pinia'
|
||||
import { computed, provide, ref, watch } from 'vue'
|
||||
|
||||
|
|
@ -13,6 +12,7 @@ import {
|
|||
fetchConversation as apiFetchConversation,
|
||||
fetchStatus as apiFetchStatus,
|
||||
} from 'src/api/public.js'
|
||||
import { WSConnectionStatus } from 'src/api/websocket.js'
|
||||
|
||||
export function useConversation(statusId, expanded) {
|
||||
const loadError = ref(null)
|
||||
|
|
@ -42,9 +42,13 @@ export function useConversation(statusId, expanded) {
|
|||
}
|
||||
})
|
||||
|
||||
watch(expanded, (value) => {
|
||||
setFocused(value ? statusId.value : null)
|
||||
}, { immediate: true })
|
||||
watch(
|
||||
expanded,
|
||||
(value) => {
|
||||
setFocused(value ? statusId.value : null)
|
||||
},
|
||||
{ immediate: true },
|
||||
)
|
||||
|
||||
watch(
|
||||
focusedStatus,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue