🔧 Reconfigure packages
This commit is contained in:
parent
5f6453ff9b
commit
e6cea282b0
54 changed files with 493 additions and 399 deletions
|
@ -3,7 +3,7 @@ import PropTypes from "prop-types";
|
|||
import Button from "@material-ui/core/Button";
|
||||
import { FormattedMessage, FormattedHTMLMessage } from "react-intl";
|
||||
import FormFieldMeasurement from "../../.form/FormFieldMeasurement";
|
||||
import models from "@freesewing/models";
|
||||
import { withBreasts, withoutBreasts } from "@freesewing/models";
|
||||
|
||||
const Measurements = props => {
|
||||
const styles = {
|
||||
|
@ -96,9 +96,11 @@ const Measurements = props => {
|
|||
<FormattedMessage id="app.withoutBreasts" />
|
||||
</h4>
|
||||
<ul>
|
||||
{Object.keys(models).map(m => (
|
||||
{Object.keys(withoutBreasts).map(m => (
|
||||
<li key={m}>
|
||||
<Button onClick={() => props.preloadMeasurements(models[m])}>
|
||||
<Button
|
||||
onClick={() => props.preloadMeasurements(withoutBreasts[m])}
|
||||
>
|
||||
<FormattedMessage id="cfp.size" />
|
||||
|
||||
{m.slice(-2)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue