mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 21:06:42 +07:00
fixed slide block transitions
This commit is contained in:
parent
d06593b4cb
commit
f837924ad4
3 changed files with 56 additions and 47 deletions
|
@ -107,15 +107,17 @@ function* onNodeLoad({ id }: ReturnType<typeof nodeLoadNode>) {
|
|||
data: { node, error },
|
||||
} = yield call(reqWrapper, getNode, { id });
|
||||
|
||||
yield put(nodeSetLoading(false));
|
||||
|
||||
if (error) {
|
||||
return yield put(nodeSetSaveErrors({ error }));
|
||||
yield put(nodeSetSaveErrors({ error }));
|
||||
yield put(nodeSetLoading(false));
|
||||
return;
|
||||
}
|
||||
|
||||
yield put(nodeSetSaveErrors({}));
|
||||
yield put(nodeSetCurrent(node));
|
||||
|
||||
yield put(nodeSetLoading(false));
|
||||
|
||||
const {
|
||||
comments: {
|
||||
data: { comments },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue