mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
correctly handle clicks on reference links
This commit is contained in:
@@ -435,7 +435,7 @@ export default class NoteTreeWidget extends TabAwareWidget {
|
||||
oldActiveNode.setFocus(false);
|
||||
}
|
||||
|
||||
if (this.tabContext && this.tabContext.notePath) {
|
||||
if (this.tabContext && this.tabContext.notePath && !this.tabContext.note.isDeleted) {
|
||||
const newActiveNode = await this.getNodeFromPath(this.tabContext.notePath);
|
||||
|
||||
if (newActiveNode) {
|
||||
|
||||
Reference in New Issue
Block a user