Skip to content
Snippets Groups Projects
Commit d91fa1a3 authored by syuilo's avatar syuilo
Browse files

fix bug

parent 6c3f0529
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@ export const getNoteSummary = (note: any, locale: any): string => {
// 返信のとき
if (note.replyId) {
if (note.reply) {
summary += `\n\nRE: ${summarize(note.reply, locale)}`;
summary += `\n\nRE: ${getNoteSummary(note.reply, locale)}`;
} else {
summary += '\n\nRE: ...';
}
......@@ -42,7 +42,7 @@ export const getNoteSummary = (note: any, locale: any): string => {
// Renoteのとき
if (note.renoteId) {
if (note.renote) {
summary += `\n\nRN: ${summarize(note.renote, locale)}`;
summary += `\n\nRN: ${getNoteSummary(note.renote, locale)}`;
} else {
summary += '\n\nRN: ...';
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment