15439 sips advanced search
This commit is contained in:
@@ -253,6 +253,8 @@ const SearchResults = (props) => {
|
||||
searchDetailsObj
|
||||
);
|
||||
|
||||
Object.assign(item, item.pinswg_sipscase);
|
||||
|
||||
detailsObj = detailsObj[0] || {};
|
||||
return (
|
||||
<div
|
||||
@@ -318,17 +320,20 @@ const SearchResults = (props) => {
|
||||
{item.title}
|
||||
</Link>
|
||||
|
||||
{detailsObj.hasOwnProperty(
|
||||
"_pinswg_projecttype_value@OData.Community.Display.V1.FormattedValue"
|
||||
) && (
|
||||
<div className="govuk-!-font-size-14">
|
||||
{
|
||||
detailsObj[
|
||||
"_pinswg_projecttype_value@OData.Community.Display.V1.FormattedValue"
|
||||
]
|
||||
}
|
||||
</div>
|
||||
)}
|
||||
{item.hasOwnProperty(
|
||||
"pinswg_sipscase"
|
||||
) &&
|
||||
item.hasOwnProperty(
|
||||
"_pinswg_projecttype_value@OData.Community.Display.V1.FormattedValue"
|
||||
) && (
|
||||
<div className="govuk-!-font-size-14">
|
||||
{
|
||||
item[
|
||||
"_pinswg_projecttype_value@OData.Community.Display.V1.FormattedValue"
|
||||
]
|
||||
}
|
||||
</div>
|
||||
)}
|
||||
<RepsOnResults
|
||||
detailsObj={detailsObj}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user