Skip to content

Commit

Permalink
fix(sqllab): Missing allowHTML props in ResultTableExtension (#31960)
Browse files Browse the repository at this point in the history
  • Loading branch information
justinpark authored Jan 22, 2025
1 parent 7cf7267 commit 1d6423e
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,14 @@ export interface SQLFormExtensionProps {
startQuery: (ctasArg?: any, ctas_method?: any) => void;
}

export interface SQLResultTableExtentionProps {
export interface SQLResultTableExtensionProps {
queryId: string;
orderedColumnKeys: string[];
data: Record<string, unknown>[];
height: number;
filterText?: string;
expandedColumns?: string[];
allowHTML?: boolean;
}

/**
Expand Down Expand Up @@ -223,7 +224,7 @@ export type Extensions = Partial<{
'database.delete.related': ComponentType<DatabaseDeleteRelatedExtensionProps>;
'dataset.delete.related': ComponentType<DatasetDeleteRelatedExtensionProps>;
'sqleditor.extension.form': ComponentType<SQLFormExtensionProps>;
'sqleditor.extension.resultTable': ComponentType<SQLResultTableExtentionProps>;
'sqleditor.extension.resultTable': ComponentType<SQLResultTableExtensionProps>;
'dashboard.slice.header': ComponentType<SliceHeaderExtension>;
'sqleditor.extension.customAutocomplete': (
args: CustomAutoCompleteArgs,
Expand Down

0 comments on commit 1d6423e

Please sign in to comment.