After copying api switches to the new one.

This commit is contained in:
Satbir Singh 2020-04-07 11:17:20 +05:30
parent 11487038ef
commit 70a1794e86

View File

@ -250,6 +250,8 @@ function* handleMoveOrCopySaga(actionPayload: ReduxAction<{ id: string }>) {
);
if (values.id === id) {
yield put(initialize(API_EDITOR_FORM_NAME, action));
} else {
yield put(changeApi(id));
}
}