diff --git a/app/src/frontend/building/data-components/verification.tsx b/app/src/frontend/building/data-components/verification.tsx index 1cdf768b..532c28fd 100644 --- a/app/src/frontend/building/data-components/verification.tsx +++ b/app/src/frontend/building/data-components/verification.tsx @@ -19,7 +19,7 @@ const Verification: React.FunctionComponent = (props) => ( title={`Verified by ${props.verified_count} ${(props.verified_count == 1)? "person": "people"}`} > - {props.verified_count} + {props.verified_count || 0} { props.allow_verify? diff --git a/app/src/frontend/building/data-containers/size.tsx b/app/src/frontend/building/data-containers/size.tsx index 1286fe21..6eed1292 100644 --- a/app/src/frontend/building/data-containers/size.tsx +++ b/app/src/frontend/building/data-containers/size.tsx @@ -4,6 +4,7 @@ import { dataFields } from '../../data_fields'; import { DataEntryGroup } from '../data-components/data-entry-group'; import NumericDataEntry from '../data-components/numeric-data-entry'; import SelectDataEntry from '../data-components/select-data-entry'; +import Verification from '../data-components/verification'; import withCopyEdit from '../data-container'; import { CategoryViewProps } from './category-view-props'; @@ -14,7 +15,6 @@ import { CategoryViewProps } from './category-view-props'; const SizeView: React.FunctionComponent = (props) => ( - = (props) => ( step={1} min={0} /> + + = (props) => ( step={1} min={0} /> + + = (props) => ( step={1} min={0} /> + + = (props) => ( step={0.1} min={0} /> + + = (props) => ( step={0.1} min={0} /> + + = (props) => ( step={0.1} min={0} /> + + = (props) => ( step={0.1} min={0} /> + +