mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 02:28:34 +01:00
toggle reaction should work.
This commit is contained in:
@@ -190,7 +190,7 @@ export class ExtHostComments implements ExtHostCommentsShape, IDisposable {
|
||||
$toggleReaction(commentControllerHandle: number, threadHandle: number, uri: UriComponents, comment: modes.Comment, reaction: modes.CommentReaction): Promise<void> {
|
||||
const commentController = this._commentControllers.get(commentControllerHandle);
|
||||
|
||||
if (!commentController || commentController.reactionHandler) {
|
||||
if (!commentController || !commentController.reactionHandler) {
|
||||
return Promise.resolve(undefined);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user