mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 18:23:08 +02: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