mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
video node editor
This commit is contained in:
parent
12e366fce9
commit
8612cc5ce7
10 changed files with 105 additions and 6 deletions
|
@ -13,13 +13,11 @@ function* onGetFlow() {
|
|||
}: IResultWithStatus<{ nodes: INode[] }> = yield call(getNodes, {});
|
||||
|
||||
if (!nodes || !nodes.length) {
|
||||
// todo: set error empty response
|
||||
yield put(flowSetNodes([]));
|
||||
return;
|
||||
}
|
||||
|
||||
// todo: write nodes
|
||||
yield put(flowSetNodes(nodes));
|
||||
|
||||
// console.log('flow', { nodes, error });
|
||||
}
|
||||
|
||||
export default function* nodeSaga() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue