File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -226,7 +226,6 @@ func (t *Table) initForRenderRows() {
226226 if t .rowPainter != nil || t .indexedRowPainter != nil {
227227 t .rowsColors = make ([]text.Colors , len (t .rowsRaw ))
228228 }
229-
230229 t .rows = t .initForRenderRowsStringify (t .rowsRaw , renderHint {})
231230 t .rowsFooter = t .initForRenderRowsStringify (t .rowsFooterRaw , renderHint {isFooterRow : true })
232231 t .rowsHeader = t .initForRenderRowsStringify (t .rowsHeaderRaw , renderHint {isHeaderRow : true })
@@ -267,7 +266,6 @@ func (t *Table) initForRenderSortRows() {
267266
268267 // sort the rows
269268 sortedRowIndices := t .getSortedRowIndices ()
270-
271269 sortedRows := make ([]rowStr , len (t .rows ))
272270 for idx := range t .rows {
273271 sortedRows [idx ] = t.rows [sortedRowIndices [idx ]]
@@ -279,7 +277,6 @@ func (t *Table) initForRenderSortRows() {
279277 sortedRowsColors := make ([]text.Colors , len (t .rows ))
280278 for idx := range t .rows {
281279 sortedRowsColors [idx ] = t.rowsColors [sortedRowIndices [idx ]]
282-
283280 if t .indexedRowPainter != nil {
284281 sortedRowsColors [idx ] = t .indexedRowPainter (idx )
285282 }
You can’t perform that action at this time.
0 commit comments