mirror of
https://github.com/MisskeyIO/misskey
synced 2024-11-24 07:06:22 +09:00
Fix bug
This commit is contained in:
parent
0c0d05fcb4
commit
a16b96ccc0
@ -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 New Issue
Block a user