- client: fix/1754 - Merge pull request #639 in DNS/adguard-home from fix/1754 to master
Close #1754 * commit 'dddcbe77e29ff815e32913de4e5d99be98ab9934': -client: Fix "DNS rewrites" adding an item error
This commit is contained in:
commit
620f5c22c7
|
@ -20,7 +20,7 @@ const rewrites = handleActions(
|
||||||
[actions.addRewriteSuccess]: (state, { payload }) => {
|
[actions.addRewriteSuccess]: (state, { payload }) => {
|
||||||
const newState = {
|
const newState = {
|
||||||
...state,
|
...state,
|
||||||
list: [...state.list, ...payload],
|
list: [...state.list, payload],
|
||||||
processingAdd: false,
|
processingAdd: false,
|
||||||
};
|
};
|
||||||
return newState;
|
return newState;
|
||||||
|
|
Loading…
Reference in New Issue