Show the connection currently being used

This commit is contained in:
Ricardo Paes
2022-03-14 08:47:45 -03:00
parent 69023ef81e
commit c3154ae7fc
5 changed files with 27 additions and 0 deletions

View File

@@ -99,6 +99,21 @@ const useStyles = makeStyles(theme => ({
top: "0%",
left: "0%",
},
userTag: {
position: "absolute",
marginRight: 5,
right: 5,
bottom: 5,
background:"#2576D2",
color: "#ffffff",
border:"1px solid #CCC",
padding: 1,
paddingLeft: 5,
paddingRight: 5,
borderRadius: 10,
fontSize: "1em"
},
}));
const TicketListItem = ({ ticket }) => {
@@ -196,6 +211,9 @@ const TicketListItem = ({ ticket }) => {
)}
</Typography>
)}
{ticket.whatsappId && (
<div className={classes.userTag} title={i18n.t("ticketsList.connectionTitle")}>{ticket.whatsapp.name}</div>
)}
</span>
}
secondary={