fix(ui) - disabled popup text

This commit is contained in:
Shekar Siri 2021-12-05 00:22:23 +05:30
parent 0e55ea29b7
commit 4ab7b81b2c
2 changed files with 2 additions and 1 deletions

View file

@ -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 dont have the permissions to perform this action." : `Call ${userId ? userId : 'User'}` }
size="tiny"
inverted
position="top right"

View file

@ -80,6 +80,7 @@ function Roles(props: Props) {
/>
</div>
}
content="You dont have the permissions to perform this action."
disabled={ isAdmin }
size="tiny"
inverted