mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-25 00:49:17 +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