mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-10-13 07:47:05 +08:00
refactor(plugin-data-spreadsheet-new): CB-666 check for column.label
This commit is contained in:
+2
-2
@@ -100,8 +100,8 @@ export const TableColumnHeader: React.FC<HeaderRendererProps<any>> = observer(fu
|
||||
</icon>
|
||||
<name>{columnName}</name>
|
||||
</shrink-container>
|
||||
{sortable && column?.name && (
|
||||
<OrderButton model={model} resultIndex={resultIndex} attribute={column.label || ''} />
|
||||
{sortable && column?.label && (
|
||||
<OrderButton model={model} resultIndex={resultIndex} attribute={column.label} />
|
||||
)}
|
||||
</table-header>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user