mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-16 10:16:16 +01:00
Heed peer review
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user