This repository was archived by the owner on Jul 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ const HeaderMenu = (headerMenuProps: HeaderMenuProps) => {
113113 type : ActionTypes . ADD_COLUMN_TO_LEFT ,
114114 columnId : column . id ,
115115 focus : false ,
116- columnInfo : adjustWidthOfTheColumn ( column . position - 1 ) ,
116+ columnInfo : adjustWidthOfTheColumnsWhenAdd ( column . position - 1 ) ,
117117 } ) ;
118118 setExpanded ( false ) ;
119119 } ,
@@ -126,7 +126,7 @@ const HeaderMenu = (headerMenuProps: HeaderMenuProps) => {
126126 type : ActionTypes . ADD_COLUMN_TO_RIGHT ,
127127 columnId : column . id ,
128128 focus : false ,
129- columnInfo : adjustWidthOfTheColumn ( column . position + 1 ) ,
129+ columnInfo : adjustWidthOfTheColumnsWhenAdd ( column . position + 1 ) ,
130130 } ) ;
131131 setExpanded ( false ) ;
132132 } ,
@@ -247,7 +247,7 @@ const HeaderMenu = (headerMenuProps: HeaderMenuProps) => {
247247 e . preventDefault ( ) ;
248248 }
249249
250- function adjustWidthOfTheColumn ( wantedPosition : number ) {
250+ function adjustWidthOfTheColumnsWhenAdd ( wantedPosition : number ) {
251251 const columnNumber =
252252 initialState . columns . length - initialState . shadowColumns . length ;
253253 const columnName = `newColumn${ columnNumber } ` ;
You can’t perform that action at this time.
0 commit comments