[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,9 +56,10 @@ const Statusbar = inject('sheets', 'storeAppOptions', 'users')(props => {
}, []);
const onApiActiveSheetChanged = (index) => {
// console.log(index);
sheets.setActiveWorksheet(index);
Common.Notifications.trigger('sheet:active', index);
if (index < sheets.sheets.length) {
sheets.setActiveWorksheet(index);
Common.Notifications.trigger('sheet:active', index);
}
}
const onApiHideTabContextMenu = () => {