Skip to content

Commit 97ce666

Browse files
committed
toggle reaction should work.
1 parent f1bad37 commit 97ce666

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/workbench/api/common/extHostComments.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ export class ExtHostComments implements ExtHostCommentsShape, IDisposable {
190190
$toggleReaction(commentControllerHandle: number, threadHandle: number, uri: UriComponents, comment: modes.Comment, reaction: modes.CommentReaction): Promise<void> {
191191
const commentController = this._commentControllers.get(commentControllerHandle);
192192

193-
if (!commentController || commentController.reactionHandler) {
193+
if (!commentController || !commentController.reactionHandler) {
194194
return Promise.resolve(undefined);
195195
}
196196

0 commit comments

Comments
 (0)