route: fixed empty route cancellation

This commit is contained in:
muerwre 2018-11-30 17:53:38 +07:00
parent 095c7cf946
commit 516bcbca05
2 changed files with 4 additions and 2 deletions

View file

@ -76,6 +76,7 @@ function* stopEditingSaga() {
}
yield editor.cancelEditing();
yield put(setMode(MODES.NONE));
yield put(setChanged(false));