Skip to content

Commit

Permalink
Merge pull request '[SSE] Fix ole editor' (#158) from fix/bugfix into…
Browse files Browse the repository at this point in the history
… release/v8.3.0
  • Loading branch information
Julia Radzhabova committed Dec 4, 2024
2 parents 9bcaf19 + 4ba6ddd commit 3ed4913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/spreadsheeteditor/main/app/view/Statusbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ define([
if (oldRtl !== this.isRtlSheet || force)
this.updateTabbarBorders();

var index = this.api.asc_getActiveWorksheetIndex();
var index = this.api ? this.api.asc_getActiveWorksheetIndex() : 0;
var tab = _.findWhere(this.tabbar.tabs, {sheetindex: index});
tab && !this.tabbar.isTabVisible(tab.index) && this.tabbar.setTabVisible(tab.index);
},
Expand Down

0 comments on commit 3ed4913

Please sign in to comment.