move route to editor-plugin

This commit is contained in:
Eduard Heimbuch
2019-08-29 11:10:09 +02:00
parent 2e5ceb7825
commit 3c583b414e
4 changed files with 3 additions and 103 deletions

View File

@@ -10,6 +10,7 @@ type Props = {
revision: string,
path: string,
baseUrl: string,
branch: string,
classes: any
};
@@ -59,7 +60,7 @@ class Breadcrumb extends React.Component<Props> {
}
render() {
const { classes, baseUrl, revision } = this.props;
const { classes, baseUrl, revision, path } = this.props;
return (
<>
@@ -73,7 +74,7 @@ class Breadcrumb extends React.Component<Props> {
<ButtonGroup>
<ExtensionPoint
name="sourceView.actionbar.right"
props={{baseUrl, revision}}
props={{ baseUrl, revision, path }}
renderAll={true}
/>
</ButtonGroup>