Fixed: clicking a result wasn't saving the query
This commit is contained in:
@@ -77,7 +77,11 @@
|
|||||||
|
|
||||||
function onClick(evt?: MouseEvent | KeyboardEvent) {
|
function onClick(evt?: MouseEvent | KeyboardEvent) {
|
||||||
if (!selectedNote) return
|
if (!selectedNote) return
|
||||||
openNote(selectedNote, evt?.ctrlKey) // Keep ctrl pressed to open in a new pane
|
if (evt?.ctrlKey) {
|
||||||
|
openNoteInNewPane()
|
||||||
|
} else {
|
||||||
|
openNoteAndCloseModal()
|
||||||
|
}
|
||||||
modal.close()
|
modal.close()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user