mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
clipper doesn't open new tab if the note is already loaded in existing tab
This commit is contained in:
@@ -713,10 +713,7 @@ messagingService.subscribeToMessages(message => {
|
||||
reload();
|
||||
}
|
||||
else if (message.type === 'open-note') {
|
||||
noteDetailService.loadNoteDetail(message.noteId, {
|
||||
newTab: true,
|
||||
activate: true
|
||||
});
|
||||
noteDetailService.activateOrOpenNote(message.noteId);
|
||||
|
||||
if (utils.isElectron()) {
|
||||
const currentWindow = require("electron").remote.getCurrentWindow();
|
||||
|
||||
Reference in New Issue
Block a user