mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-16 02:06:18 +01:00
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:
@@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Branch not found right after creation ([#1334](https://github.com/scm-manager/scm-manager/pull/1334))
|
- Branch not found right after creation ([#1334](https://github.com/scm-manager/scm-manager/pull/1334))
|
||||||
- Overflow for too long branch names ([#1339](https://github.com/scm-manager/scm-manager/pull/1339))
|
- Overflow for too long branch names ([#1339](https://github.com/scm-manager/scm-manager/pull/1339))
|
||||||
- Set default branch in branch selector if nothing is selected ([#1338](https://github.com/scm-manager/scm-manager/pull/1338))
|
- Set default branch in branch selector if nothing is selected ([#1338](https://github.com/scm-manager/scm-manager/pull/1338))
|
||||||
|
- Handling of branch with slashes in source view ([#1340](https://github.com/scm-manager/scm-manager/pull/1340))
|
||||||
|
|
||||||
## [2.5.0] - 2020-09-10
|
## [2.5.0] - 2020-09-10
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
@@ -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 = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user