Skip to content
This repository has been archived by the owner on Feb 29, 2020. It is now read-only.

Commit

Permalink
Merge pull request #3017 from sarracini/gh3016
Browse files Browse the repository at this point in the history
fix(systemaddon): Closes #3016 Add SOURCE to LinkMenu telemetry pings
  • Loading branch information
sarracini authored Jul 28, 2017
2 parents 7fcbda4 + 796e7e1 commit c368cdd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion system-addon/content-src/components/Card/Card.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class Card extends React.Component {
this.setState({showContextMenu});
}
render() {
const {index, link, dispatch, contextMenuOptions} = this.props;
const {index, link, dispatch, contextMenuOptions, eventSource} = this.props;
const isContextMenuOpen = this.state.showContextMenu && this.state.activeCard === index;
const hostname = shortURL(link);
const {icon, intlID} = cardContextTypes[link.type];
Expand Down Expand Up @@ -71,6 +71,7 @@ class Card extends React.Component {
<LinkMenu
dispatch={dispatch}
index={index}
source={eventSource}
onUpdate={this.onMenuUpdate}
options={link.context_menu_options || contextMenuOptions}
site={link}
Expand Down

0 comments on commit c368cdd

Please sign in to comment.