mirror of
https://github.com/zadam/trilium.git
synced 2024-11-14 19:55:10 +08:00
13 lines
413 B
JavaScript
13 lines
413 B
JavaScript
module.exports = () => {
|
|
const cls = require("../../src/services/cls");
|
|
const beccaLoader = require("../../src/becca/becca_loader");
|
|
const becca = require("../../src/becca/becca");
|
|
|
|
cls.init(() => {
|
|
beccaLoader.load();
|
|
|
|
for (const label of becca.getNote('_hidden').getLabels('archived')) {
|
|
label.markAsDeleted('0208__remove_archived_from_hidden');
|
|
}
|
|
});
|
|
};
|