Fixed icon display

This commit is contained in:
ShimaginAndrey 2021-07-07 12:24:38 +03:00
parent 1486c12cd4
commit 58e8be1904

View file

@ -698,7 +698,7 @@ const ViewComments = ({storeComments, storeAppOptions, onCommentMenuClick, onRes
<div className='reply-date'>{reply.date}</div>
</div>
</div>
{!viewMode &&
{!viewMode && reply.editable &&
<div className='right'>
<div className='reply-menu'
onClick={() => {setComment(comment); setReply(reply); openActionReply(true);}}
@ -799,7 +799,7 @@ const CommentList = inject("storeComments", "storeAppOptions")(observer(({storeC
</div>
{!viewMode &&
<div className='right'>
<div className='comment-resolve' onClick={() => {onResolveComment(comment);}}><Icon icon={comment.resolved ? 'icon-resolve-comment check' : 'icon-resolve-comment'} /></div>
<div className='comment-resolve' onClick={() => {onResolveComment(comment);}}>{comment.editable && <Icon icon={comment.resolved ? 'icon-resolve-comment check' : 'icon-resolve-comment'}/>}</div>
<div className='comment-menu'
onClick={() => {openActionComment(true);}}
><Icon icon='icon-menu-comment'/></div>
@ -827,7 +827,7 @@ const CommentList = inject("storeComments", "storeAppOptions")(observer(({storeC
<div className='reply-date'>{reply.date}</div>
</div>
</div>
{!viewMode &&
{!viewMode && reply.editable &&
<div className='right'>
<div className='reply-menu'
onClick={() => {setReply(reply); openActionReply(true);}}