Revert: Added extension point for changeset description

This commit is contained in:
Philipp Czora
2018-12-27 13:56:35 +01:00
parent 1898a8ffe5
commit d0e13fcb09

View File

@@ -17,7 +17,6 @@ import {
import classNames from "classnames"; import classNames from "classnames";
import type { Tag } from "@scm-manager/ui-types"; import type { Tag } from "@scm-manager/ui-types";
import { ExtensionPoint } from "@scm-manager/ui-extensions";
const styles = { const styles = {
spacing: { spacing: {
@@ -67,22 +66,16 @@ class ChangesetDetails extends React.Component<Props> {
</div> </div>
<div className="media-right">{this.renderTags()}</div> <div className="media-right">{this.renderTags()}</div>
</article> </article>
<ExtensionPoint <p>
name="changesets.changeset.description" {description.message.split("\n").map((item, key) => {
props={{ changeset, description }} return (
renderAll={true} <span key={key}>
> {item}
<p> <br />
{description.message.split("\n").map((item, key) => { </span>
return ( );
<span key={key}> })}
{item} </p>
<br />
</span>
);
})}
</p>
</ExtensionPoint>
</div> </div>
<div> <div>
<ChangesetDiff changeset={changeset} /> <ChangesetDiff changeset={changeset} />