-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 }) => {
|
||||
const newState = {
|
||||
...state,
|
||||
list: [...state.list, ...payload],
|
||||
list: [...state.list, payload],
|
||||
processingAdd: false,
|
||||
};
|
||||
return newState;
|
||||
|
|
Loading…
Reference in New Issue