Workaround for comments panel not opening

This commit is contained in:
Rachel Macfarlane
2018-05-21 15:11:29 -07:00
parent 072e970249
commit f86589cd3f

View File

@@ -83,6 +83,7 @@ export class MainThreadComments extends Disposable implements MainThreadComments
$registerWorkspaceCommentProvider(handle: number): void {
this._workspaceProviders.set(handle, undefined);
this._panelService.setPanelEnablement(COMMENTS_PANEL_ID, true);
this._panelService.openPanel(COMMENTS_PANEL_ID);
this._proxy.$provideWorkspaceComments(handle).then(commentThreads => {
if (commentThreads) {
this._commentService.setAllComments(commentThreads);