Skip to content

Commit

Permalink
Conditionally render the data source select config
Browse files Browse the repository at this point in the history
  • Loading branch information
kavilla authored Jun 22, 2024
2 parents 8867564 + ec37345 commit c636dee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions public/plugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export class QueryEnhancementsPlugin
initialTo: moment().add(2, 'days').toISOString(),
},
showFilterBar: false,
showDataSourceSelector: false,
},
fields: {
filterable: false,
Expand All @@ -72,6 +73,7 @@ export class QueryEnhancementsPlugin
searchBar: {
showDatePicker: false,
showFilterBar: false,
showDataSourceSelector: false,
queryStringInput: { initialValue: 'SELECT * FROM <data_source>' },
},
fields: {
Expand Down

0 comments on commit c636dee

Please sign in to comment.