mirror of
https://github.com/zadam/trilium.git
synced 2024-11-10 09:02:48 +08:00
Compare commits
2 commits
9565b0b43d
...
0948853539
Author | SHA1 | Date | |
---|---|---|---|
|
0948853539 | ||
|
0ad337c8e8 |
3 changed files with 9 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
"name": "trilium",
|
||||
"productName": "Trilium Notes",
|
||||
"description": "Trilium Notes",
|
||||
"version": "0.63.2-beta",
|
||||
"version": "0.63.3",
|
||||
"license": "AGPL-3.0-only",
|
||||
"main": "electron.js",
|
||||
"bin": {
|
||||
|
|
|
@ -161,6 +161,13 @@ class BRevision extends AbstractBeccaEntity {
|
|||
return this.getAttachments().filter(attachment => attachment.title === title)[0];
|
||||
}
|
||||
|
||||
/**
|
||||
* Revisions are not soft-deletable, they are immediately hard-deleted (erased).
|
||||
*/
|
||||
eraseRevision() {
|
||||
require("../../services/erase.js").eraseRevisions([this.revisionId]);
|
||||
}
|
||||
|
||||
beforeSaving() {
|
||||
super.beforeSaving();
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
module.exports = { buildDate:"2024-02-17T22:47:50+01:00", buildRevision: "15677f71785fd81298b94df70855233d1578629c" };
|
||||
module.exports = { buildDate:"2024-03-03T06:58:18+01:00", buildRevision: "0ad337c8e806ba84d48d7b97aa46df52d9f236a8" };
|
||||
|
|
Loading…
Reference in a new issue