Merge pull request #1340 from scm-manager/bugfix/load_sources_with_offset

Handling of branch with slashes in source view
This commit is contained in:
eheimbuch
2020-09-21 14:56:58 +02:00
committed by GitHub
2 changed files with 7 additions and 1 deletions

View File

@@ -109,7 +109,12 @@ class FileTree extends React.Component<Props, State> {
}
loadMore = () => {
this.props.fetchSources(this.props.repository, this.props.revision, this.props.path, this.props.hunks.length);
this.props.fetchSources(
this.props.repository,
decodeURIComponent(this.props.revision),
this.props.path,
this.props.hunks.length
);
};
renderTruncatedInfo = () => {