From 36bbc32ea08b4ae57343d1506c4511d475e3d53c Mon Sep 17 00:00:00 2001 From: Jacob Mischka Date: Thu, 13 Oct 2022 12:44:28 -0500 Subject: [PATCH] Add changelog for 0.31.0 There are a few other changes, though they only affect the experimental Routers API. Do we want to mention those here too? --- src/components/selectTable.ts | 8 +------- src/examples/basic/table.ts | 5 ++++- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/src/components/selectTable.ts b/src/components/selectTable.ts index fec6eed..410e2eb 100644 --- a/src/components/selectTable.ts +++ b/src/components/selectTable.ts @@ -1,12 +1,6 @@ import { z } from 'zod' import Logger from '../classes/Logger' -import { - tableRow, - T_IO_PROPS, - menuItem, - T_IO_RETURNS, - T_IO_STATE, -} from '../ioSchema' +import { tableRow, T_IO_PROPS, T_IO_RETURNS, T_IO_STATE } from '../ioSchema' import { MenuItem, TableColumn } from '../types' import { columnsBuilder, diff --git a/src/examples/basic/table.ts b/src/examples/basic/table.ts index 1947c5f..5bbf5be 100644 --- a/src/examples/basic/table.ts +++ b/src/examples/basic/table.ts @@ -240,7 +240,10 @@ export const select_table: IntervalActionHandler = async io => { defaultPageSize: 500, columns: [ 'id', - 'description', + { + label: 'Description', + accessorKey: 'description', + }, 'number', 'boolean', 'date',