1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-27 23:28:38 +02:00

Desktop: Add synchronization tools to clear local sync state or data

This commit is contained in:
Laurent Cozic
2021-05-03 12:55:38 +02:00
parent da4c61653f
commit a6caa357c8
14 changed files with 229 additions and 65 deletions

View File

@ -15,6 +15,10 @@ class SyncTargetRegistry {
};
}
static allIds() {
return Object.keys(this.reg_);
}
static nameToId(name) {
for (const n in this.reg_) {
if (!this.reg_.hasOwnProperty(n)) continue;