mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
node deletion (lock)
This commit is contained in:
parent
b1279e8d4d
commit
8f0625f734
12 changed files with 113 additions and 58 deletions
|
@ -96,6 +96,12 @@ export const nodeStar = (id: INode['id']) => ({
|
|||
id,
|
||||
});
|
||||
|
||||
export const nodeLock = (id: INode['id'], is_locked: boolean) => ({
|
||||
type: NODE_ACTIONS.LOCK,
|
||||
id,
|
||||
is_locked,
|
||||
});
|
||||
|
||||
export const nodeSetEditor = (editor: INode) => ({
|
||||
type: NODE_ACTIONS.SET_EDITOR,
|
||||
editor,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue