Skip to content

Commit

Permalink
Update src/plugins/data_source_management/public/components/data_sour…
Browse files Browse the repository at this point in the history
…ce_selector/data_source_selector.tsx

Co-authored-by: Lu Yu <[email protected]>
Signed-off-by: Yuanqi(Ella) Zhu <[email protected]>
  • Loading branch information
zhyuanqi and BionIT committed Apr 3, 2024
1 parent fa73989 commit 7ea17fd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export class DataSourceSelector extends React.Component<
? 'Select a data source'
: this.props.placeholderText;

// We render again here to make sure each time we will get the latest filtered data sources
// The filter condition can be changed, thus we filter again here to make sure each time we will get the filtered data sources before rendering
const dataSources = getFilteredDataSources(
this.state.allDataSources,
this.props.dataSourceFilter
Expand Down

0 comments on commit 7ea17fd

Please sign in to comment.