Commit cb1b5845 authored by Alexander.Trofimov's avatar Alexander.Trofimov

simplified condition

parent f15ea174
......@@ -4435,15 +4435,11 @@
}
}
}
if(!style.Name || (style.Name && !worksheet.workbook.TableStyles.AllStyles[style.Name]))
{
styleForCurTable = worksheet.workbook.TableStyles.AllStyles[style.Name];
if (!styleForCurTable) {
return;
}
else
{
styleForCurTable = worksheet.workbook.TableStyles.AllStyles[style.Name]
}
//заполняем стили
var aNoHiddenCol = [];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment