fix: Aviod presentation conversion causing a crash (#19825) (port)
This commit is contained in:
parent
e4e4b1e304
commit
e5812ffd81
@ -565,6 +565,7 @@ class PresentationUploader extends Component {
|
||||
|
||||
commands[newCurrentIndex] = {
|
||||
$apply: (presentation) => {
|
||||
if (!presentation) return;
|
||||
const p = presentation;
|
||||
if (p) {
|
||||
p.current = true;
|
||||
|
Loading…
Reference in New Issue
Block a user