Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
alexwizp committed May 13, 2022
1 parent 55202ad commit 8280970
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ const TopNav = ({
if (
dataView &&
visInstance.vis.data.indexPattern &&
dataView !== visInstance.vis.data.indexPattern?.id
dataView !== visInstance.vis.data.indexPattern.id
) {
const dataViewFromState = await services.dataViews.get(dataView);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const useDataViewUpdates = (
if (
dataView &&
visInstance.vis.data.indexPattern &&
dataView !== visInstance.vis.data.indexPattern?.id
dataView !== visInstance.vis.data.indexPattern.id
) {
const selectedDataView = await services.dataViews.get(dataView);
if (selectedDataView) {
Expand Down

0 comments on commit 8280970

Please sign in to comment.