Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
edited notes: space instead of comma for flexible styling
contributoraa7ecaf6842c
diff --git a/apps/client/src/widgets/ribbon/EditedNotesTab.tsx b/apps/client/src/widgets/ribbon/EditedNotesTab.tsxindex 5bab1c8169..4bdae4126b 100644--- a/apps/client/src/widgets/ribbon/EditedNotesTab.tsx+++ b/apps/client/src/widgets/ribbon/EditedNotesTab.tsx@@ -13,8 +13,8 @@ export default function EditedNotesTab({ note }: TabContext) {useEffect(() => {if (!note) return;server.get<EditedNotesResponse>(`edited-notes/${note.getLabelValue("dateNote")}`).then(async editedNotes => {- editedNotes = editedNotes.filter((n) => n.noteId !== note.noteId);- const noteIds = editedNotes.flatMap((n) => n.noteId);+ editedNotes = editedNotes.filter((n) => n.noteId !== note.noteId);+ const noteIds = editedNotes.flatMap((n) => n.noteId);await froca.getNotes(noteIds, true); // preload all at oncesetEditedNotes(editedNotes);});@@ -41,11 +41,11 @@ export default function EditedNotesTab({ note }: TabContext) {)}</span>)- }))}+ }), " ")}</div>) : (<div className="no-edited-notes-found">{t("edited_notes.no_edited_notes_found")}</div>)}</div>- )+ )}