From e5812ffd81f3b77775dcd4273c8cad6c8e5b2ef1 Mon Sep 17 00:00:00 2001 From: Anton Georgiev Date: Mon, 18 Mar 2024 10:02:33 -0400 Subject: [PATCH] fix: Aviod presentation conversion causing a crash (#19825) (port) --- .../components/presentation/presentation-uploader/component.jsx | 1 + 1 file changed, 1 insertion(+) 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 c02aaf4a98..742f034819 100755 --- a/bigbluebutton-html5/imports/ui/components/presentation/presentation-uploader/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/presentation/presentation-uploader/component.jsx @@ -565,6 +565,7 @@ class PresentationUploader extends Component { commands[newCurrentIndex] = { $apply: (presentation) => { + if (!presentation) return; const p = presentation; if (p) { p.current = true;