mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-07 22:15:45 +01:00
small fix
This commit is contained in:
@@ -175,9 +175,9 @@ const mapStateToProps = (state, ownProps) => {
|
||||
const loading = isFetchBranchesPending(state, repository);
|
||||
const error = getFetchBranchesFailure(state, repository);
|
||||
const branches = getBranches(state, repository);
|
||||
const currentFileIsDirectory = revision
|
||||
const currentFileIsDirectory = decodedRevision
|
||||
? isDirectory(state, repository, decodedRevision, path)
|
||||
: isDirectory(state, repository, decodedRevision, path);
|
||||
: isDirectory(state, repository, revision, path);
|
||||
const sources = getSources(state, repository, decodedRevision, path);
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user