mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
fix: restore cloud changes from serialized data (#193032)
This commit is contained in:
parent
d7041e3716
commit
31210c0428
|
@ -448,6 +448,9 @@ export class EditSessionsContribution extends Disposable implements IWorkbenchCo
|
|||
|
||||
async run(accessor: ServicesAccessor, editSessionId?: string): Promise<void> {
|
||||
const data = await that.quickInputService.input({ prompt: 'Enter serialized data' });
|
||||
if (data) {
|
||||
that.editSessionsStorageService.lastReadResources.set('editSessions', { content: data, ref: '' });
|
||||
}
|
||||
await that.progressService.withProgress({ ...resumeProgressOptions, title: resumeProgressOptionsTitle }, async () => await that.resumeEditSession(editSessionId, undefined, undefined, undefined, undefined, data));
|
||||
}
|
||||
}));
|
||||
|
|
Loading…
Reference in a new issue