fix(status): optional boolean props
parent
bbc029c52f
commit
6cae9505ae
|
@ -3,8 +3,8 @@ import type { Status } from 'masto'
|
||||||
|
|
||||||
const { status, collapsed = false, simplified = false } = defineProps<{
|
const { status, collapsed = false, simplified = false } = defineProps<{
|
||||||
status: Status
|
status: Status
|
||||||
collapsed: boolean
|
collapsed?: boolean
|
||||||
simplified: boolean
|
simplified?: boolean
|
||||||
}>()
|
}>()
|
||||||
|
|
||||||
const isSelf = $computed(() => status.inReplyToAccountId === status.account.id)
|
const isSelf = $computed(() => status.inReplyToAccountId === status.account.id)
|
||||||
|
|
Loading…
Reference in New Issue