Fix linking of relative links

This broke while trying to support the [[ ]] syntax.
This commit is contained in:
Vishesh Handa
2020-06-19 12:40:01 +02:00
parent 3be7a7d350
commit 421a30b016

View File

@ -161,7 +161,7 @@ class NoteSnippet extends StatelessWidget {
var link = links.where((l) {
if (l.filePath != null) {
return l.filePath == note.filePath;
return l.filePath == parentNote.filePath;
}
var term = parentNote.pathSpec();