mirror of
https://github.com/zadam/trilium.git
synced 2025-11-15 17:55:52 +01:00
chore(react/ribbon): fix some more crashes when rapidly switching tabs
This commit is contained in:
@@ -29,7 +29,7 @@ export default function NotePathsTab({ note, hoistedNoteId, notePath }: TabConte
|
||||
|
||||
return (
|
||||
<div class="note-paths-widget">
|
||||
{sortedNotePaths && (
|
||||
{sortedNotePaths?.length && (
|
||||
<>
|
||||
<div className="note-path-intro">
|
||||
{sortedNotePaths.length > 0 ? t("note_paths.intro_placed") : t("note_paths.intro_not_placed")}
|
||||
|
||||
Reference in New Issue
Block a user