From 3a34178ac467524a90cf2236ff3014fc2e757ffd Mon Sep 17 00:00:00 2001 From: Fedor Katurov <gotham48@gmail.com> Date: Mon, 18 Nov 2019 15:39:33 +0700 Subject: [PATCH] getting node diff --- src/redux/flow/sagas.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/redux/flow/sagas.ts b/src/redux/flow/sagas.ts index c236ea13..6d90e6fd 100644 --- a/src/redux/flow/sagas.ts +++ b/src/redux/flow/sagas.ts @@ -22,10 +22,15 @@ import { selectFlowNodes } from "./selectors"; import { reqWrapper } from "../auth/sagas"; import { postCellView } from "./api"; import { IFlowState } from "./reducer"; -import uniqBy from "ramda/es/uniqBy"; import uniq from "ramda/es/uniq"; function* onGetFlow() { + const { + flow: { _persist } + } = yield select(); + + if (!_persist.rehydrated) return; + yield put(flowSetFlow({ is_loading: true })); const {