show full borders in sourceView when extensionPoint is available

This commit is contained in:
Eduard Heimbuch
2019-08-28 09:55:48 +02:00
parent e4fde9b299
commit bd22d60965
2 changed files with 10 additions and 5 deletions

View File

@@ -17,6 +17,7 @@ import {
} from "../modules/sources";
import { withRouter } from "react-router-dom";
import { compose } from "redux";
import { binder } from "@scm-manager/ui-extensions";
const styles = {
iconColumn: {
@@ -124,6 +125,9 @@ class FileTree extends React.Component<Props> {
<th className="is-hidden-mobile">
{t("sources.file-tree.description")}
</th>
{binder.hasExtension("sourceView.right") && (
<th className="is-hidden-mobile" />
)}
</tr>
</thead>
<tbody>