Commit 264b27c9 authored by Matthew J Endries's avatar Matthew J Endries

Fixed clicking fav button propagating

parent ad609e70
Pipeline #4846 passed with stages
in 2 minutes and 13 seconds
......@@ -18,6 +18,7 @@ class FavoriteButton extends React.Component<FavoriteButtonProps, FavoriteButton
handleClick = (event: React.MouseEvent) => {
event.stopPropagation(); // Stops the card from being selected in the sidebar.
event.preventDefault(); // Also stops the card from being selected in the sidebar.
const newState = !this.state.isFavorite;
......
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