Skip to content
Snippets Groups Projects
Unverified Commit 38660190 authored by Kyle Doherty's avatar Kyle Doherty
Browse files

properly disable cost selects

parent 8d333b9a
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,10 @@ const CostSelect = ({ currentCost, location, maxCost }) => {
return (
<Link
to={`${urlWithoutCost}/${cost}`}
className="no-decoration"
className={cx(
'no-decoration',
{ 'disabled': getDisabled(maxCost).indexOf(cost) !== -1}
)}
key={cost}
>
<li
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment