fix: Fixes prompt for Cmd/Ctrl+Backspace command on trashed note (#2990)
This commit is contained in:
committed by
GitHub
parent
bdc43d6d54
commit
8a845df38c
@@ -761,7 +761,7 @@ class NoteView extends AbstractComponent<NoteViewProps, State> {
|
||||
|
||||
registerKeyboardShortcuts() {
|
||||
const moveNoteToTrash = () => {
|
||||
this.deleteNote(false).catch(console.error)
|
||||
this.deleteNote(this.note.trashed).catch(console.error)
|
||||
}
|
||||
|
||||
this.#observers.push(
|
||||
|
||||
Reference in New Issue
Block a user