mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
added tag deletion interface
This commit is contained in:
parent
0a75feef8d
commit
04a7b28a53
16 changed files with 195 additions and 39 deletions
|
@ -16,6 +16,7 @@ import { NodeAuthorBlock } from '~/components/node/NodeAuthorBlock';
|
|||
|
||||
interface IProps {
|
||||
node: INode;
|
||||
canEdit: boolean;
|
||||
isLoading: boolean;
|
||||
commentsOrder: 'ASC' | 'DESC';
|
||||
comments: IComment[];
|
||||
|
@ -26,6 +27,7 @@ interface IProps {
|
|||
|
||||
const NodeBottomBlock: FC<IProps> = ({
|
||||
node,
|
||||
canEdit,
|
||||
isLoading,
|
||||
isLoadingComments,
|
||||
comments,
|
||||
|
@ -66,7 +68,7 @@ const NodeBottomBlock: FC<IProps> = ({
|
|||
<NodeAuthorBlock node={node} />
|
||||
</div>
|
||||
<div className={styles.left_item}>
|
||||
<NodeTagsBlock node={node} isLoading={isLoading} />
|
||||
<NodeTagsBlock node={node} canEdit={canEdit} isLoading={isLoading} />
|
||||
</div>
|
||||
<div className={styles.left_item}>
|
||||
<NodeRelatedBlock isLoading={isLoading} node={node} related={related} />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue