Fix handling of slashes in branches in 'offset loading'-case

This commit is contained in:
Florian Scholdei
2020-09-21 12:05:07 +02:00
parent 5af60a7b81
commit 9f0ff33f46

View File

@@ -109,7 +109,12 @@ class FileTree extends React.Component<Props, State> {
} }
loadMore = () => { 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 = () => { renderTruncatedInfo = () => {