Add anchors for tags and operations

This commit is contained in:
Kyle Shockey
2017-07-14 01:13:30 -07:00
parent 8851b138f9
commit 73845907a3
3 changed files with 29 additions and 6 deletions

View File

@@ -66,7 +66,12 @@ export default class Operations extends React.Component {
onClick={() => layoutActions.show(isShownKey, !showTag)}
className={!tagDescription ? "opblock-tag no-desc" : "opblock-tag" }
id={isShownKey.join("-")}>
<span>{tag}</span>
<a
className="nostyle"
onClick={(e) => e.preventDefault()}
href={`#/${tag}`}>
<span>{tag}</span>
</a>
{ !tagDescription ? null :
<small>
{ tagDescription }