mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 01:18:23 +00:00
Style: hide resolved icon if not the thread owner (#2911)
This commit is contained in:
parent
22991ae900
commit
8778428331
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ const CommentHeader = ({ socket, count = 0, threadId, isResolved, isThreadOwner,
|
|||
<div className="ms-auto d-flex">
|
||||
<span
|
||||
title={isThreadOwner ? 'toggle resolved' : 'only creator of thread can resolve'}
|
||||
className={cx('m-1 cursor-pointer', { disabled: !isThreadOwner })}
|
||||
className={cx('m-1 cursor-pointer', { disabled: !isThreadOwner, 'd-none': !isResolved && !isThreadOwner })}
|
||||
onClick={handleResolved}
|
||||
>
|
||||
{getResolveIcon()}
|
||||
|
|
|
|||
Loading…
Reference in a new issue