From da2487e3145c5e824b84a33e6be32ea052688547 Mon Sep 17 00:00:00 2001 From: coder578 <2498410641@qq.com> Date: Sat, 10 Aug 2024 17:21:08 +0800 Subject: [PATCH] fix: topCalc has blank line when group exists --- src/js/modules/ColumnCalcs/ColumnCalcs.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/js/modules/ColumnCalcs/ColumnCalcs.js b/src/js/modules/ColumnCalcs/ColumnCalcs.js index 8c77b107e..0b5880266 100644 --- a/src/js/modules/ColumnCalcs/ColumnCalcs.js +++ b/src/js/modules/ColumnCalcs/ColumnCalcs.js @@ -253,6 +253,7 @@ export default class ColumnCalcs extends Module{ if(this.topInitialized){ this.topInitialized = false; + this.topElement.parentNode.removeChild(this.topElement.previousSibling); this.topElement.parentNode.removeChild(this.topElement); changed = true; }