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:
Lajellu 2016-12-21 11:13:08 -08:00
parent 20eea9cb06
commit ec49a0a343
2 changed files with 1 additions and 7 deletions

View File

@ -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>

View File

@ -19,11 +19,6 @@
margin-left: -($font-size-base / 4);
border-radius: 50%;
background-color: $color-white;
}
}
.beingRecorded {
&:after {
background-color: $color-danger !important;
}
}