mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-11-10 05:15:35 +08:00
fix(connections): disable sorting for close column
This commit is contained in:
parent
b4739d6dba
commit
98b5d62c02
@ -110,6 +110,7 @@ export default () => {
|
||||
const columns: ColumnDef<ConnectionWithSpeed>[] = [
|
||||
{
|
||||
accessorKey: CONNECTIONS_TABLE_ACCESSOR_KEY.Close,
|
||||
enableSorting: false,
|
||||
header: () => (
|
||||
<div class="flex h-full items-center">
|
||||
<Button
|
||||
@ -308,6 +309,7 @@ export default () => {
|
||||
<td
|
||||
onContextMenu={(e) => {
|
||||
e.preventDefault()
|
||||
typeof cell.renderValue() === 'string' &&
|
||||
void writeClipboard(cell.renderValue() as string)
|
||||
}}
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user