fix(ui) - disabled popup text
This commit is contained in:
parent
0e55ea29b7
commit
4ab7b81b2c
2 changed files with 2 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ function AssistActions({ toggleChatWindow, userId, calling, peerConnectionStatus
|
|||
<span className={cn("ml-2", { 'color-red' : inCall })}>{ inCall ? 'End Call' : 'Call' }</span>
|
||||
</div>
|
||||
}
|
||||
content={ `Call ${userId ? userId : 'User'}` }
|
||||
content={ cannotCall ? "You don’t have the permissions to perform this action." : `Call ${userId ? userId : 'User'}` }
|
||||
size="tiny"
|
||||
inverted
|
||||
position="top right"
|
||||
|
|
|
|||
|
|
@ -80,6 +80,7 @@ function Roles(props: Props) {
|
|||
/>
|
||||
</div>
|
||||
}
|
||||
content="You don’t have the permissions to perform this action."
|
||||
disabled={ isAdmin }
|
||||
size="tiny"
|
||||
inverted
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue