This commit is contained in:
@@ -26,7 +26,9 @@ function markDirty() {
|
||||
}
|
||||
|
||||
function closeNote(){
|
||||
emitter.emit('delete-note', props.noteKey);
|
||||
// 'close-note' only closes the opened note; 'delete-note' is reserved for
|
||||
// actual deletions (sidebar removal happens on that event instead)
|
||||
emitter.emit('close-note', props.noteKey);
|
||||
}
|
||||
|
||||
const compiledMarkdown = computed(() => {
|
||||
|
||||
Reference in New Issue
Block a user