mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
added highlight for new comments
This commit is contained in:
parent
5585d566fd
commit
277f0fea43
19 changed files with 158 additions and 94 deletions
|
@ -74,12 +74,6 @@ export const nodeSetRelated = (related: INodeState['related']) => ({
|
|||
type: NODE_ACTIONS.SET_RELATED,
|
||||
});
|
||||
|
||||
export const nodeSetCommentData = (id: number, comment: Partial<IComment>) => ({
|
||||
id,
|
||||
comment,
|
||||
type: NODE_ACTIONS.SET_COMMENT_DATA,
|
||||
});
|
||||
|
||||
export const nodeUpdateTags = (id: INode['id'], tags: string[]) => ({
|
||||
type: NODE_ACTIONS.UPDATE_TAGS,
|
||||
id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue