We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cb4547 commit e84bccbCopy full SHA for e84bccb
x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx
@@ -362,7 +362,7 @@ export const LensTopNavMenu = ({
362
datasourceStates[activeDatasourceId].state
363
);
364
const dataView = await data.dataViews.get(dataViewId);
365
- setCurrentIndexPattern(dataView ?? indexPatterns[0]);
+ setCurrentIndexPattern(dataViewId ? dataView : indexPatterns[0]);
366
}
367
};
368
0 commit comments