mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
getting node diff
This commit is contained in:
parent
6641a03d92
commit
3a34178ac4
1 changed files with 6 additions and 1 deletions
|
@ -22,10 +22,15 @@ import { selectFlowNodes } from "./selectors";
|
||||||
import { reqWrapper } from "../auth/sagas";
|
import { reqWrapper } from "../auth/sagas";
|
||||||
import { postCellView } from "./api";
|
import { postCellView } from "./api";
|
||||||
import { IFlowState } from "./reducer";
|
import { IFlowState } from "./reducer";
|
||||||
import uniqBy from "ramda/es/uniqBy";
|
|
||||||
import uniq from "ramda/es/uniq";
|
import uniq from "ramda/es/uniq";
|
||||||
|
|
||||||
function* onGetFlow() {
|
function* onGetFlow() {
|
||||||
|
const {
|
||||||
|
flow: { _persist }
|
||||||
|
} = yield select();
|
||||||
|
|
||||||
|
if (!_persist.rehydrated) return;
|
||||||
|
|
||||||
yield put(flowSetFlow({ is_loading: true }));
|
yield put(flowSetFlow({ is_loading: true }));
|
||||||
|
|
||||||
const {
|
const {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue