Skip to content

Commit

Permalink
handle select external
Browse files Browse the repository at this point in the history
Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
  • Loading branch information
kavilla committed Jul 23, 2024
1 parent 4d70f5f commit f2ca5b0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ export const DataSetNavigator = ({
{
name: S3DataSourcesLabel,
panel: 4,
onClick: () => {
onClick: async () => {
const externalDataSourcesCache = CatalogCacheManager.getExternalDataSourcesCache();
if (
(externalDataSourcesCache.status === CachedDataSourceStatus.Empty ||
Expand All @@ -473,7 +473,7 @@ export const DataSetNavigator = ({
} else if (
externalDataSourcesCache.status === CachedDataSourceStatus.Updated
) {
setExternalDataSources(
await handleSelectExternalDataSource(
externalDataSourcesCache.externalDataSources.map((ds) => ({
id: ds.dataSourceRef,
name: ds.name,
Expand Down

0 comments on commit f2ca5b0

Please sign in to comment.