note list should show the prefix, #4362

This commit is contained in:
zadam
2023-10-29 01:02:55 +02:00
parent 48e98b2ac3
commit eb0a68d0ab
2 changed files with 3 additions and 2 deletions

View File

@@ -217,7 +217,7 @@ async function getNoteTitle(noteId, parentNoteId = null) {
if (branchId) {
const branch = froca.getBranch(branchId);
if (branch && branch.prefix) {
if (branch?.prefix) {
title = `${branch.prefix} - ${title}`;
}
}