Clear lastAddedNote on notetype change

This commit is contained in:
Abdo 2025-08-27 02:36:39 +03:00
parent 466306a0f6
commit f57c41bf3c

View file

@ -314,6 +314,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
const deckId = await defaultDeckForNotetype({ ntid: notetype.id });
deckChooser.select(deckId.did);
}
lastAddedNote = null;
}
let notetypeMeta: NotetypeIdAndModTime;