From 2efd949b16466409d4d13f287691e40aafbdfb6f Mon Sep 17 00:00:00 2001 From: Tainan Felipe <tainanfelipe214@gmail.com> Date: Fri, 7 May 2021 11:09:30 -0300 Subject: [PATCH] Update bigbluebutton-html5/imports/ui/components/presentation/presentation-uploader/component.jsx Co-authored-by: Anton Georgiev <antobinary@users.noreply.github.com> --- .../components/presentation/presentation-uploader/component.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigbluebutton-html5/imports/ui/components/presentation/presentation-uploader/component.jsx b/bigbluebutton-html5/imports/ui/components/presentation/presentation-uploader/component.jsx index 41422769fd..5b23f91a62 100755 --- a/bigbluebutton-html5/imports/ui/components/presentation/presentation-uploader/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/presentation/presentation-uploader/component.jsx @@ -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, -- GitLab