display current note ID in editor (useful in Electron which doesn't have address bar)

This commit is contained in:
azivner
2017-12-25 09:46:11 -05:00
parent 31a4a201a8
commit 12f70b28c8
4 changed files with 10 additions and 2 deletions

View File

@@ -104,8 +104,6 @@ async function protectNote(note, dataKey, protect, sourceId) {
}
if (changed) {
console.log("Updating...");
await sql.execute("UPDATE notes SET note_title = ?, note_text = ?, is_protected = ? WHERE note_id = ?",
[note.note_title, note.note_text, note.is_protected, note.note_id]);