mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
notifications: for nodes
This commit is contained in:
parent
14bf5be65f
commit
d9544e917b
13 changed files with 156 additions and 27 deletions
|
@ -1,10 +1,9 @@
|
|||
import React, { FC, MouseEventHandler } from 'react';
|
||||
import { FC, MouseEventHandler } from 'react';
|
||||
|
||||
import classNames from 'classnames';
|
||||
|
||||
import { Anchor } from '~/components/common/Anchor';
|
||||
import { Icon } from '~/components/input/Icon';
|
||||
import { NodeRelatedItem } from '~/components/node/NodeRelatedItem';
|
||||
import { NodeThumbnail } from '~/components/node/NodeThumbnail';
|
||||
import { URLS } from '~/constants/urls';
|
||||
import { INode } from '~/types';
|
||||
import { getPrettyDate } from '~/utils/dom';
|
||||
|
@ -31,7 +30,7 @@ const FlowRecentItem: FC<IProps> = ({ node, has_new, onClick }) => {
|
|||
[styles.lab]: !node.is_promoted,
|
||||
})}
|
||||
>
|
||||
<NodeRelatedItem item={node} />
|
||||
<NodeThumbnail item={node} />
|
||||
</div>
|
||||
|
||||
<div className={styles.info}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue