diff --git a/api/lib/clickhouse-local.ts b/api/lib/clickhouse-local.ts index 8cfa69c..0e8aafa 100644 --- a/api/lib/clickhouse-local.ts +++ b/api/lib/clickhouse-local.ts @@ -1,6 +1,6 @@ import defer * as chdb from 'chdb' -export function createLocalClient(path: string) { - const session = new chdb.Session(path) +export function createLocalClient(path: string) { + const session = new chdb.Session(path) session.query(`SET date_time_input_format = 'best_effort'`) return { diff --git a/web/pages/DeploymentPage.tsx b/web/pages/DeploymentPage.tsx index f87958c..6b25672 100644 --- a/web/pages/DeploymentPage.tsx +++ b/web/pages/DeploymentPage.tsx @@ -458,12 +458,6 @@ effect(() => { } }) -const RowNumberCell = ({ index }: { index: number }) => ( - - {(Number(url.params.tpage) || 0) * pageSize + index + 1} - -) - const TableCell = ({ value, col }: { value: unknown; col?: ColumnDef }) => { const config = getColumnConfig(col) const isObj = typeof value === 'object' && value !== null @@ -1380,7 +1374,6 @@ function LogsViewer() { style={logRowStyle.value} class='hover:bg-base-200/50 border-b border-base-300/50 cursor-pointer transition-colors' > -