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<{
|
||||
status: Status
|
||||
collapsed: boolean
|
||||
simplified: boolean
|
||||
collapsed?: boolean
|
||||
simplified?: boolean
|
||||
}>()
|
||||
|
||||
const isSelf = $computed(() => status.inReplyToAccountId === status.account.id)
|
||||
|
|
Loading…
Reference in New Issue