[SSE mobile] Some fixes

This commit is contained in:
SergeyEzhin 2021-03-29 14:43:06 +03:00
parent 0cd1dba25c
commit 25213e6313

View file

@ -58,7 +58,7 @@ const Statusbar = inject('sheets', 'storeAppOptions', 'users')(props => {
}; };
const onWorksheetLocked = (index, locked) => { const onWorksheetLocked = (index, locked) => {
let model = sheets.find(sheet => sheet.index === index); let model = sheets.sheets.find(sheet => sheet.index === index);
if(model && model.locked != locked) if(model && model.locked != locked)
model.locked = locked; model.locked = locked;
}; };
@ -121,9 +121,9 @@ const Statusbar = inject('sheets', 'storeAppOptions', 'users')(props => {
color = '0px 4px 0 ' + color + ' inset'; color = '0px 4px 0 ' + color + ' inset';
} }
$$('.sheet-tabs .tab a').eq(tab.index).css('box-shadow', color); $$('.sheet-tabs .tab').eq(tab.index).css('box-shadow', color);
} else { } else {
$$('.sheet-tabs .tab a').eq(tab.index).css('box-shadow', ''); $$('.sheet-tabs .tab').eq(tab.index).css('box-shadow', '');
} }
} }
}; };