cleanup & lint

This commit is contained in:
Henry Jameson 2026-08-24 16:08:47 +03:00
commit d521a06dad
3 changed files with 13 additions and 4 deletions

View file

@ -622,9 +622,12 @@ const conversation = {
}, },
updateVirtualHeight() { updateVirtualHeight() {
this.$nextTick(() => { this.$nextTick(() => {
console.log('LMAO', this.$refs.body.clientHeight)
this.virtualHeight = this.$refs.body.clientHeight this.virtualHeight = this.$refs.body.clientHeight
this.$emit('update:virtualHeight', { id: this.status.id, height: this.virtualHeight, top: this.$el.clientTop }) this.$emit('update:virtualHeight', {
id: this.status.id,
height: this.virtualHeight,
top: this.$el.clientTop,
})
}) })
}, },
}, },

View file

@ -2,8 +2,8 @@ import { mapActions, mapState } from 'pinia'
import { useAuthFlowStore } from 'src/stores/auth_flow.js' import { useAuthFlowStore } from 'src/stores/auth_flow.js'
import { useInstanceStore } from 'src/stores/instance.js' import { useInstanceStore } from 'src/stores/instance.js'
import { useUsersStore } from 'src/stores/users.js'
import { useOAuthStore } from 'src/stores/oauth.js' import { useOAuthStore } from 'src/stores/oauth.js'
import { useUsersStore } from 'src/stores/users.js'
import { getLoginUrl, getTokenWithCredentials } from 'src/api/oauth.js' import { getLoginUrl, getTokenWithCredentials } from 'src/api/oauth.js'

View file

@ -118,7 +118,13 @@ const Status = {
threadDisplayStatus: String, threadDisplayStatus: String,
}, },
emits: ['goto', 'dive', 'toggleExpanded', 'suspendableStateChange', 'heightChange'], emits: [
'goto',
'dive',
'toggleExpanded',
'suspendableStateChange',
'heightChange',
],
data() { data() {
return { return {
replying: false, replying: false,