Remove the blue edit button from view section

This commit is contained in:
Tom Russell 2018-11-13 10:20:06 +00:00
parent 6805e3fd8f
commit 7166606b43

View File

@ -87,13 +87,6 @@ const DataSection = (props) => {
</nav>
</header>
{ match? <dl className="data-list">{props.children}</dl> : null }
{
(match && !props.inactive)?
<div className="buttons-container with-space">
<Link to={`/building/${props.building_id}/edit.html?cat=${props.slug}`} className="btn btn-primary">Edit data</Link>
</div>
: null
}
</section>
);
}