add verification date_source
This commit is contained in:
parent
7343c71d16
commit
00f3c40ded
@ -68,6 +68,14 @@ const AgeView: React.FunctionComponent<CategoryViewProps> = (props) => {
|
|||||||
placeholder={dataFields.date_source.example}
|
placeholder={dataFields.date_source.example}
|
||||||
options={dataFields.date_source.items}
|
options={dataFields.date_source.items}
|
||||||
/>
|
/>
|
||||||
|
<Verification
|
||||||
|
slug="date_source"
|
||||||
|
allow_verify={props.user !== undefined && props.building.date_source !== null && !props.edited}
|
||||||
|
onVerify={props.onVerify}
|
||||||
|
user_verified={props.user_verified.hasOwnProperty("date_source")}
|
||||||
|
user_verified_as={props.user_verified.date_source}
|
||||||
|
verified_count={props.building.verified.date_source}
|
||||||
|
/>
|
||||||
</Fragment>
|
</Fragment>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
@ -119,6 +127,14 @@ const AgeView: React.FunctionComponent<CategoryViewProps> = (props) => {
|
|||||||
options={dataFields.date_source.items}
|
options={dataFields.date_source.items}
|
||||||
placeholder={dataFields.date_source.example}
|
placeholder={dataFields.date_source.example}
|
||||||
/>
|
/>
|
||||||
|
<Verification
|
||||||
|
slug="date_source"
|
||||||
|
allow_verify={props.user !== undefined && props.building.date_source !== null && !props.edited}
|
||||||
|
onVerify={props.onVerify}
|
||||||
|
user_verified={props.user_verified.hasOwnProperty("date_source")}
|
||||||
|
user_verified_as={props.user_verified.date_source}
|
||||||
|
verified_count={props.building.verified.date_source}
|
||||||
|
/>
|
||||||
<MultiDataEntry
|
<MultiDataEntry
|
||||||
title={dataFields.date_link.title}
|
title={dataFields.date_link.title}
|
||||||
slug="date_link"
|
slug="date_link"
|
||||||
|
Loading…
Reference in New Issue
Block a user