[SSE mobile] Fix Bug 51146

This commit is contained in:
SergeyEzhin 2021-07-27 15:56:11 +03:00
parent aab98b4beb
commit 55e22d914f
2 changed files with 6 additions and 0 deletions

View file

@ -10,6 +10,11 @@ import {AddFunction} from '../../view/add/AddFunction';
class _FunctionGroups extends Component { class _FunctionGroups extends Component {
constructor (props) { constructor (props) {
super(props); super(props);
Common.Notifications.on('changeFuncLang', () => {
this.api = Common.EditorApi.get();
this.init();
});
} }
componentDidMount() { componentDidMount() {
Common.Notifications.on('document:ready', () => { Common.Notifications.on('document:ready', () => {

View file

@ -77,6 +77,7 @@ class ApplicationSettingsController extends Component {
onFormulaLangChange(value) { onFormulaLangChange(value) {
LocalStorage.setItem("sse-settings-func-lang", value); LocalStorage.setItem("sse-settings-func-lang", value);
this.initRegSettings(); this.initRegSettings();
Common.Notifications.trigger('changeFuncLang');
} }
onRegSettings(regCode) { onRegSettings(regCode) {