mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
db anonymization implementation
This commit is contained in:
@@ -17,7 +17,7 @@ const settings = (function() {
|
||||
|
||||
dialogEl.dialog({
|
||||
modal: true,
|
||||
width: 800
|
||||
width: 900
|
||||
});
|
||||
|
||||
tabsEl.tabs();
|
||||
@@ -161,5 +161,17 @@ settings.addModule((async function () {
|
||||
showMessage("Full sync triggered");
|
||||
});
|
||||
|
||||
return {};
|
||||
})());
|
||||
|
||||
settings.addModule((async function () {
|
||||
const anonymizeButton = $("#anonymize-button");
|
||||
|
||||
anonymizeButton.click(async () => {
|
||||
await server.post('anonymization/anonymize');
|
||||
|
||||
showMessage("Created anonymized database");
|
||||
});
|
||||
|
||||
return {};
|
||||
})());
|
||||
Reference in New Issue
Block a user