Heed peer review

This commit is contained in:
René Pfeuffer
2020-09-10 08:37:37 +02:00
parent e81341b601
commit 4df9c2947b
4 changed files with 21 additions and 21 deletions

View File

@@ -422,7 +422,7 @@ const reducerByNames = (state: object, repository: Repository) => {
const reducerForNamespaces = (state: object, namespaces: NamespaceCollection) => {
return {
...state,
namespaces: namespaces._embedded
namespaces: namespaces
};
};
@@ -467,7 +467,7 @@ export function getRepositoryCollection(state: object) {
}
export function getNamespaceCollection(state: object) {
return state.repos.namespaces?.namespaces;
return state.repos.namespaces;
}
export function isFetchReposPending(state: object) {