From dc98bf64dc09b8785af5dece520482db86e4e23d Mon Sep 17 00:00:00 2001 From: amitmiran137 Date: Tue, 13 Apr 2021 08:29:46 +0300 Subject: [PATCH] fix: after hugh CR --- .../src/dashboard/components/SliceHeaderControls/index.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/superset-frontend/src/dashboard/components/SliceHeaderControls/index.jsx b/superset-frontend/src/dashboard/components/SliceHeaderControls/index.jsx index 22199916d8329..650a590ac15b0 100644 --- a/superset-frontend/src/dashboard/components/SliceHeaderControls/index.jsx +++ b/superset-frontend/src/dashboard/components/SliceHeaderControls/index.jsx @@ -189,6 +189,7 @@ class SliceHeaderControls extends React.PureComponent { addSuccessToast, addDangerToast, isFullSize, + supersetCanShare, } = this.props; const crossFilterItems = getChartMetadataRegistry().items; const isCrossFilter = Object.entries(crossFilterItems) @@ -254,7 +255,7 @@ class SliceHeaderControls extends React.PureComponent { )} - {this.props.supersetCanShare && ( + {supersetCanShare && (