Update bigbluebutton-html5/imports/ui/components/presentation/presentation-uploader/component.jsx
Co-authored-by: Anton Georgiev <antobinary@users.noreply.github.com>
This commit is contained in:
parent
5e249ff47f
commit
2efd949b16
@ -255,7 +255,7 @@ class PresentationUploader extends Component {
|
||||
const { isOpen, presentations: propPresentations } = this.props;
|
||||
const { presentations } = this.state;
|
||||
//Updates presentation list when chat modal opens to avoid missing presentations
|
||||
if (prevProps.isOpen !== isOpen && isOpen) {
|
||||
if (isOpen && !prevProps.isOpen) {
|
||||
this.setState({
|
||||
presentations: {
|
||||
...propPresentations,
|
||||
|
Loading…
Reference in New Issue
Block a user