fix: repeated content on reblog without comment (re-open) (#1627)
parent
0fbe34c1e8
commit
297b104e1c
|
@ -26,7 +26,7 @@ const props = withDefaults(
|
||||||
const userSettings = useUserSettings()
|
const userSettings = useUserSettings()
|
||||||
|
|
||||||
const status = $computed(() => {
|
const status = $computed(() => {
|
||||||
if (props.status.reblog && !props.status.content)
|
if (props.status.reblog && (!props.status.content || props.status.content === props.status.reblog.content))
|
||||||
return props.status.reblog
|
return props.status.reblog
|
||||||
return props.status
|
return props.status
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue