[SSE mobile] Fix bug 50765

This commit is contained in:
JuliaSvinareva 2021-06-08 19:12:38 +03:00
parent 464fd70b5b
commit 4b5f86f75d

View file

@ -56,10 +56,11 @@ const Statusbar = inject('sheets', 'storeAppOptions', 'users')(props => {
}, []); }, []);
const onApiActiveSheetChanged = (index) => { const onApiActiveSheetChanged = (index) => {
// console.log(index); if (index < sheets.sheets.length) {
sheets.setActiveWorksheet(index); sheets.setActiveWorksheet(index);
Common.Notifications.trigger('sheet:active', index); Common.Notifications.trigger('sheet:active', index);
} }
}
const onApiHideTabContextMenu = () => { const onApiHideTabContextMenu = () => {
f7.popover.close('.document-menu.modal-in', false); f7.popover.close('.document-menu.modal-in', false);