Merge pull request #1940 from ONLYOFFICE/feature/fix-bugs

[DE mobile] Fix Bug 58892
This commit is contained in:
maxkadushkin 2022-09-06 18:50:17 +03:00 committed by GitHub
commit 1ccdbafac0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -502,7 +502,7 @@ const EditText = props => {
const storeTextSettings = props.storeTextSettings;
const storeFocusObjects = props.storeFocusObjects;
const shapeObject = storeFocusObjects.shapeObject;
const shapePr = shapeObject.get_ShapeProperties();
const shapePr = shapeObject && shapeObject.get_ShapeProperties();
const inSmartArt = shapePr && shapePr.asc_getFromSmartArt();
const inSmartArtInternal = shapePr && shapePr.asc_getFromSmartArtInternal();
const fontName = storeTextSettings.fontName || t('Edit.textFonts');