refresh views on reset

This commit is contained in:
Sandeep Somavarapu
2020-08-05 10:18:19 +02:00
parent 6df1b061bf
commit 7c8bdc3299
5 changed files with 21 additions and 2 deletions

View File

@@ -38,6 +38,9 @@ export class UserDataSyncService extends Disposable implements IUserDataSyncServ
private _onSyncErrors: Emitter<[SyncResource, UserDataSyncError][]> = this._register(new Emitter<[SyncResource, UserDataSyncError][]>());
readonly onSyncErrors: Event<[SyncResource, UserDataSyncError][]> = this._onSyncErrors.event;
get onDidResetLocal(): Event<void> { return this.channel.listen<void>('onDidResetLocal'); }
get onDidResetRemote(): Event<void> { return this.channel.listen<void>('onDidResetRemote'); }
constructor(
@ISharedProcessService private readonly sharedProcessService: ISharedProcessService
) {