cleans up the group modal and the center call

This commit is contained in:
Luke Berndt
2023-02-01 22:19:53 -05:00
parent 4b4d21df23
commit a91f981bf8
5 changed files with 81 additions and 35 deletions

View File

@@ -90,12 +90,18 @@ const CallItem = (props) => {
talkgroup = talkgroups.talkgroups[call.talkgroupNum].description;
}
const cirlceStyle = {width:"4px",
margin:"6px",
height: "4px",
borderRadius:"50%",
background: "#09f"}
let playStatus = (<></>)
if (activeCall) {
playStatus = (<Icon name="play" size='small' color="green"/>)
} else if (!call.played) {
playStatus = (<Icon name="chevron right" size='small' disabled/>)
playStatus = (<div style={cirlceStyle}/>)
}
return (