fix empty media area

This commit is contained in:
Ramón Souza 2024-07-19 16:06:09 -03:00
parent 0cf7c90663
commit b8faf496ce

View File

@ -187,6 +187,11 @@ class Presentation extends PureComponent {
type: ACTIONS.SET_PRESENTATION_SLIDES_LENGTH,
value: totalPages,
});
} else {
layoutContextDispatch({
type: ACTIONS.SET_PRESENTATION_SLIDES_LENGTH,
value: 0,
});
}
}