We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5993dd3 commit 6c5cb81Copy full SHA for 6c5cb81
1 file changed
src/MiniExcel.OpenXml/Templates/OpenXmlTemplate.Impl.cs
@@ -779,15 +779,12 @@ await writer.WriteAsync(finalXml
779
if (iEnumerableIndex == rowInfo.CellIEnumerableValuesCount)
780
continue;
781
782
- if (rowInfo.IEnumerableMercell is not null)
783
- continue;
784
-
785
// https://github.com/mini-software/MiniExcel/assets/12729184/1a699497-57e8-4602-b01e-9ffcfef1478d
786
- if (rowInfo.IEnumerableMercell?.Height is null)
+ if (rowInfo.IEnumerableMercell?.Height is not { } height)
787
788
789
// https://github.com/mini-software/MiniExcel/issues/207#issuecomment-824518897
790
- for (int i = 1; i < rowInfo.IEnumerableMercell.Height; i++)
+ for (int i = 1; i < height; i++)
791
{
792
mergeBaseRowIndex++;
793
var newRow = row.Clone() as XmlElement;
0 commit comments