mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-01-05 12:59:16 +00:00
0.24.0.dev-rc6
This commit is contained in:
@@ -32,9 +32,12 @@ export class JsonResolveModal extends Modal {
|
||||
this.hideLocal = hideLocal ?? false;
|
||||
void waitForSignal(`cancel-internal-conflict:${filename}`).then(() => this.close());
|
||||
}
|
||||
|
||||
async UICallback(keepRev?: string, mergedStr?: string) {
|
||||
if (this.callback) {
|
||||
await this.callback(keepRev, mergedStr);
|
||||
}
|
||||
this.close();
|
||||
await this.callback?.(keepRev, mergedStr);
|
||||
this.callback = undefined;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user