Skip to content

Commit

Permalink
Merge pull request #4916 from reactioncommerce/fix-kieckhafer-4900-cu…
Browse files Browse the repository at this point in the history
…rrencyNANissue

fix: add replace to remove comma from formatting
  • Loading branch information
spencern committed Jan 11, 2019
2 parents da8441e + b074b74 commit 72181da
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -5,6 +5,7 @@ import { compose } from "recompose";
import { registerComponent } from "@reactioncommerce/reaction-components";
import { Session } from "meteor/session";
import { Reaction } from "/client/api";
import { Catalog } from "/lib/api";
import ProductGridItems from "../components/productGridItems";

const wrapComponent = (Comp) => (
Expand Down Expand Up @@ -42,9 +43,8 @@ const wrapComponent = (Comp) => (
}

displayPrice = () => {
if (this.props.product.price && this.props.product.price.range) {
return this.props.product.price.range;
}
const { product } = this.props;
return Catalog.getProductPriceRange(product._id).range;
}

handleCheckboxSelect = (list, product) => {
Expand Down

0 comments on commit 72181da

Please sign in to comment.