Commit 2d000921 authored by Mattias J Duffy's avatar Mattias J Duffy
Browse files

Merge branch 'master' of https://git.gmu.edu/srct/whats-open-web

parents e575478e 9f84b0c6
......@@ -29,6 +29,8 @@ class FavoriteButton extends React.Component {
}
handleClick() {
e.stopPropagation(); //Stops the card from being selected in the sidebar.
if (this.state.isFavorite) {
this.props.removeFavoriteFacility(this.props.facility.slug);
} else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment