[PE mobile] Recovering deleted changes

This commit is contained in:
JuliaSvinareva 2021-01-29 15:44:06 +03:00
parent 4aabcdf8bb
commit f0d343403b

View file

@ -5,7 +5,7 @@ import { f7 } from "framework7-react";
import { withTranslation } from 'react-i18next';
import CollaborationController from '../../../../common/mobile/lib/controller/Collaboration.jsx'
@inject("storeFocusObjects", "storeAppOptions", "storePresentationInfo", "storePresentationSettings", "storeSlideSettings", "storeTextSettings", "storeTableSettings", "storeChartSettings")
@inject("storeFocusObjects", "storeAppOptions", "storePresentationInfo", "storePresentationSettings", "storeSlideSettings", "storeTextSettings", "storeTableSettings", "storeChartSettings", "storeLinkSettings")
class MainController extends Component {
constructor(props) {
super(props)
@ -299,6 +299,12 @@ class MainController extends Component {
storeTextSettings.resetLineSpacing(vc);
});
//link settings
const storeLinkSettings = this.props.storeLinkSettings;
this.api.asc_registerCallback('asc_onCanAddHyperlink', (value) => {
storeLinkSettings.canAddHyperlink(value);
});
// Table settings
const storeTableSettings = this.props.storeTableSettings;