mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-25 23:45:13 +00:00
Fix bug
This commit is contained in:
parent
0c0d05fcb4
commit
a16b96ccc0
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ const summarize = (note: any): string => {
|
|||
summary += note.text ? note.text : '';
|
||||
|
||||
// メディアが添付されているとき
|
||||
if (note.media) {
|
||||
if (note.media.length != 0) {
|
||||
summary += ` (${note.media.length}つのメディア)`;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue