mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
fix image not displaying if no text
This commit is contained in:
parent
4d9a418723
commit
3b2e288ee1
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ const mfms = props.note.text
|
|||
? extractMfmWithAnimation(mfm.parse(props.note.text))
|
||||
: null;
|
||||
|
||||
const hasMfm = $ref(mfms.length > 0);
|
||||
const hasMfm = $ref(mfms && mfms.length > 0);
|
||||
|
||||
let disableMfm = $ref(hasMfm && defaultStore.state.animatedMfm);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue