[se] Fix crash; Fox bug 74254

This commit is contained in:
Sergey Konovalov
2025-04-28 16:09:18 +03:00
parent 4dc41461c4
commit 793fd9c924

View File

@ -1386,9 +1386,7 @@
if (-1 !== fieldIndex) {
let pivotField;
if (pivotTables.length > 0) {
const slicerCachePivotTable = this.pivotTables[0];
const pivotTable = slicerCachePivotTable.getPivotTable(wb);
pivotField = pivotTable.asc_getPivotFields()[fieldIndex];
pivotField = pivotTables[0].asc_getPivotFields()[fieldIndex];
}
var cacheField = cacheDefinition.getFields()[fieldIndex];
res = {