Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
whats-open-web
Commits
9f84b0c6
Commit
9f84b0c6
authored
Sep 27, 2017
by
Andrew Hrdy
Browse files
Fixed selecting a facility (on the sidebar) when a favorite button is selected.
parent
d2040517
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/containers/FavoriteButton.js
View file @
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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment