refactor backend for modifyCommand / add sourceExtension for plugins

This commit is contained in:
Eduard Heimbuch
2019-10-30 12:59:54 +01:00
parent 48154cce0f
commit 4f17bc6b1c
7 changed files with 121 additions and 10 deletions

View File

@@ -75,7 +75,7 @@ class Content extends React.Component<Props, State> {
};
showHeader() {
const { file, revision } = this.props;
const { repository, file, revision } = this.props;
const { showHistory, collapsed } = this.state;
const icon = collapsed ? "angle-right" : "angle-down";
@@ -99,6 +99,7 @@ class Content extends React.Component<Props, State> {
<ExtensionPoint
name="repos.sources.content.actionbar"
props={{
repository,
file,
revision,
handleExtensionError: this.handleExtensionError