extend
};
this.menu = this.props.menus.getMenu(COMMENT_THREAD_CONTEXT);
- this.menu.children.map(node => node instanceof ActionMenuNode && node.action.when).forEach(exp => {
+ this.menu.children.map(node => node instanceof ActionMenuNode && node.when).forEach(exp => {
if (typeof exp === 'string') {
this.props.contextKeyService.setExpression(exp);
}
@@ -597,7 +597,7 @@ namespace CommentsInlineAction {
export class CommentsInlineAction extends React.Component