Skip to content

Commit

Permalink
fix: show schema data in schema tab
Browse files Browse the repository at this point in the history
  • Loading branch information
lucien martijn committed Jan 24, 2025
1 parent a5ee92c commit 199c684
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion media/scripts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -1236,7 +1236,7 @@
tableData.headers,
tableData.totalPageCount
)
initSchema(tableData.schema)
initSchema(tableData.schemaTabData)
initMetaData(tableData.metaData)
if (tableData.isQueryAble) {
initCodeEditor(
Expand Down
1 change: 1 addition & 0 deletions src/tabular-document-editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -790,6 +790,7 @@ export class TabularDocumentEditorProvider
const data = {
headers: queryTabQueryData.headers,
schema: queryTabQueryData.schema,
schemaTabData: schema,
metaData: metadata,
rawData: queryTabQueryData.result,
rowCount: queryTabQueryData.rowCount,
Expand Down

0 comments on commit 199c684

Please sign in to comment.