1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-12-05 22:57:29 +02:00

All: Resolves #8718: Delete all note revisions when the note is permanently deleted (#12609)

This commit is contained in:
pedr
2025-09-13 10:06:56 -03:00
committed by GitHub
parent f54c364b4d
commit 5adc0170fc
6 changed files with 58 additions and 10 deletions

View File

@@ -23,7 +23,7 @@ const useDeleteHistoryClick = ({
if (response === 0) {
setDeleting(true);
try {
await Revision.deleteHistoryForNote(noteId);
await Revision.deleteHistoryForNote(noteId, { sourceDescription: 'useDeleteHistoryClick' });
await shim.showMessageBox(_('Note history has been deleted.'), { type: MessageBoxType.Info });
} finally {
setDeleting(false);