From 1cdef8f86471abcf775a46dff424bfec2409d83d Mon Sep 17 00:00:00 2001 From: okbel Date: Mon, 18 Dec 2017 15:20:06 -0300 Subject: [PATCH] bounded --- .../client/components/ModTag.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/talk-plugin-featured-comments/client/components/ModTag.js b/plugins/talk-plugin-featured-comments/client/components/ModTag.js index c3cced4f2..70f51dcbc 100644 --- a/plugins/talk-plugin-featured-comments/client/components/ModTag.js +++ b/plugins/talk-plugin-featured-comments/client/components/ModTag.js @@ -29,6 +29,10 @@ export default class ModTag extends React.Component { }); } + openFeaturedDialog = (comment, asset) => { + this.props.openFeaturedDialog(comment, asset); + } + render() { const {alreadyTagged, deleteTag, comment, asset} = this.props; @@ -42,7 +46,7 @@ export default class ModTag extends React.Component { ) : ( this.props.openFeaturedDialog(comment, asset)} > + onClick={() => this.openFeaturedDialog(comment, asset)} > {alreadyTagged ? t('talk-plugin-featured-comments.featured') : t('talk-plugin-featured-comments.feature')}