mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-02 23:19:57 +00: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<{
|
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 a new issue