+ client: handle check host
This commit is contained in:
committed by
Simon Zolin
parent
0d7c01d50f
commit
8ec7c37715
@@ -79,6 +79,14 @@ const filtering = handleActions(
|
||||
...payload,
|
||||
processingSetConfig: false,
|
||||
}),
|
||||
|
||||
[actions.checkHostRequest]: state => ({ ...state, processingCheck: true }),
|
||||
[actions.checkHostFailure]: state => ({ ...state, processingCheck: false }),
|
||||
[actions.checkHostSuccess]: (state, { payload }) => ({
|
||||
...state,
|
||||
check: payload,
|
||||
processingCheck: false,
|
||||
}),
|
||||
},
|
||||
{
|
||||
isModalOpen: false,
|
||||
@@ -89,6 +97,7 @@ const filtering = handleActions(
|
||||
processingConfigFilter: false,
|
||||
processingRemoveFilter: false,
|
||||
processingSetConfig: false,
|
||||
processingCheck: false,
|
||||
isFilterAdded: false,
|
||||
filters: [],
|
||||
userRules: '',
|
||||
@@ -96,6 +105,7 @@ const filtering = handleActions(
|
||||
enabled: true,
|
||||
modalType: '',
|
||||
modalFilterUrl: '',
|
||||
check: {},
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user