mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 23:45:44 +01:00
add selectors for modifyGroupPending and Failure
This commit is contained in:
@@ -134,6 +134,14 @@ export function getFetchConfigFailure(state: Object) {
|
||||
return getFailure(state, FETCH_CONFIG);
|
||||
}
|
||||
|
||||
export function isModifyConfigPending(state: Object) {
|
||||
return isPending(state, MODIFY_CONFIG);
|
||||
}
|
||||
|
||||
export function getModifyConfigFailure(state: Object) {
|
||||
return getFailure(state, MODIFY_CONFIG);
|
||||
}
|
||||
|
||||
export function getConfig(state: Object) {
|
||||
if (state.config && state.config.entries) {
|
||||
return state.config.entries;
|
||||
|
||||
Reference in New Issue
Block a user