mirror of
https://github.com/elk-zone/elk.git
synced 2024-09-06 20:29:08 +01:00
fix(status): optional boolean props
This commit is contained in:
parent
bbc029c52f
commit
6cae9505ae
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue