mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
fixed images count
This commit is contained in:
parent
47ed05999a
commit
071e5968c8
1 changed files with 2 additions and 2 deletions
|
@ -330,13 +330,13 @@ const NodeImageSlideBlock: FC<IProps> = ({
|
|||
*/}
|
||||
</div>
|
||||
|
||||
{images.length > 0 && (
|
||||
{images.length > 1 && (
|
||||
<div className={classNames(styles.image_arrow)} onClick={onPrev}>
|
||||
<Icon icon="left" size={40} />
|
||||
</div>
|
||||
)}
|
||||
|
||||
{images.length > 0 && (
|
||||
{images.length > 1 && (
|
||||
<div className={classNames(styles.image_arrow, styles.image_arrow_right)} onClick={onNext}>
|
||||
<Icon icon="right" size={40} />
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue