HTML5 - Fix Recording Indicator Logic
Original: The indicator is always visible. If the meeting is currently being recorded, Then indicator turns red Changed to: If the meeting is currently being recorded Then the indicator is displayed and red
This commit is contained in:
parent
20eea9cb06
commit
ec49a0a343
@ -10,8 +10,7 @@ export default class RecordingIndicator extends Component {
|
||||
render() {
|
||||
const { beingRecorded } = this.props;
|
||||
let classNames = {};
|
||||
classNames[styles.indicator] = true;
|
||||
classNames[styles.beingRecorded] = beingRecorded;
|
||||
classNames[styles.indicator] = beingRecorded;
|
||||
|
||||
return (
|
||||
<span className={cx(classNames)}></span>
|
||||
|
@ -19,11 +19,6 @@
|
||||
margin-left: -($font-size-base / 4);
|
||||
border-radius: 50%;
|
||||
background-color: $color-white;
|
||||
}
|
||||
}
|
||||
|
||||
.beingRecorded {
|
||||
&:after {
|
||||
background-color: $color-danger !important;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user