mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-13 15:28:27 +01:00
exp show: fix column collapse behavior (#5753)
This commit is contained in:
+1
-1
@@ -69,7 +69,7 @@ class Table(RichTable):
|
||||
last_collapsed = -1
|
||||
columns = cast(List[Column], self.columns)
|
||||
for i in range(len(columns) - 1, -1, -1):
|
||||
if widths[i] == 1 and columns[i].collapse:
|
||||
if widths[i] == 0 and columns[i].collapse:
|
||||
if last_collapsed >= 0:
|
||||
del widths[last_collapsed]
|
||||
del columns[last_collapsed]
|
||||
|
||||
Reference in New Issue
Block a user