-client: Fix "DNS rewrites" adding an item error
This commit is contained in:
parent
72f253f62b
commit
dddcbe77e2
|
@ -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