mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-07-03 23:00:04 +08:00
Fix linking of relative links
This broke while trying to support the [[ ]] syntax.
This commit is contained in:
@ -161,7 +161,7 @@ class NoteSnippet extends StatelessWidget {
|
|||||||
|
|
||||||
var link = links.where((l) {
|
var link = links.where((l) {
|
||||||
if (l.filePath != null) {
|
if (l.filePath != null) {
|
||||||
return l.filePath == note.filePath;
|
return l.filePath == parentNote.filePath;
|
||||||
}
|
}
|
||||||
|
|
||||||
var term = parentNote.pathSpec();
|
var term = parentNote.pathSpec();
|
||||||
|
Reference in New Issue
Block a user