export 5 changes

This commit is contained in:
fyears
2024-07-13 23:24:41 +08:00
parent f256936bae
commit 733fa1d306
4 changed files with 16 additions and 0 deletions
+13
View File
@@ -2784,6 +2784,19 @@ export class RemotelySaveSettingTab extends PluginSettingTab {
new Notice(t("settings_syncplans_notice"));
});
})
.addButton(async (button) => {
button.setButtonText(t("settings_syncplans_button_5_only_change"));
button.onClick(async () => {
await exportVaultSyncPlansToFiles(
this.plugin.db,
this.app.vault,
this.plugin.vaultRandomID,
5,
true
);
new Notice(t("settings_syncplans_notice"));
});
})
.addButton(async (button) => {
button.setButtonText(t("settings_syncplans_button_1"));
button.onClick(async () => {