For bug 73025

This commit is contained in:
Julia Radzhabova
2025-02-02 22:16:40 +03:00
parent fa260c01c7
commit 942bfbe659

View File

@ -955,7 +955,7 @@ define([
onApiChangePreviewSheet: function (index) {
var item = this.printSettings.cmbSheet.store.findWhere({value: index});
this.printSettings.updateActiveSheet(item.get('displayValue'));
item && this.printSettings.updateActiveSheet(item.get('displayValue'));
if (this.notUpdateSheetSettings) {
this.notUpdateSheetSettings = false;