1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

added boris route

This commit is contained in:
Fedor Katurov 2019-11-07 14:01:41 +07:00
parent c8ca961935
commit cf16cbf0f9
7 changed files with 70 additions and 13 deletions

View file

@ -12,9 +12,14 @@ export const nodeSetSaveErrors = (errors: IValidationErrors) => ({
type: NODE_ACTIONS.SET_SAVE_ERRORS,
});
export const nodeLoadNode = (id: number, node_type: INode['type']) => ({
export const nodeGotoNode = (id: number, node_type: INode['type']) => ({
id,
node_type,
type: NODE_ACTIONS.GOTO_NODE,
});
export const nodeLoadNode = (id: number) => ({
id,
type: NODE_ACTIONS.LOAD_NODE,
});