Skip to content

Commit

Permalink
Merge pull request #283 from DigitalCommons/277-hide-backsearch-where…
Browse files Browse the repository at this point in the history
…-no-ownership

add a check on ownership
  • Loading branch information
King-Mob authored Nov 30, 2023
2 parents 076101a + aaab81f commit a271fce
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions src/components/left-pane/PropertySection.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,15 +179,16 @@ const PropertySection = ({ property, active }) => {
</div>
</div>

<div className="property__check-for-properties">
<Button
buttonClass={"button-new green full-width"}
type={"button"}
buttonAction={handleSearch}
>
Check for other properties
</Button>
</div>
{proprietor_category_1 &&
<div className="property__check-for-properties">
<Button
buttonClass={"button-new green full-width"}
type={"button"}
buttonAction={handleSearch}
>
Check for other properties
</Button>
</div>}
<div className="property__clear-property">
<button
className="button-new blue full-width"
Expand Down

0 comments on commit a271fce

Please sign in to comment.