fix empty media area
This commit is contained in:
parent
0cf7c90663
commit
b8faf496ce
@ -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,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user