mirror of
https://github.com/apache/superset.git
synced 2026-04-18 07:35:09 +00:00
style(dashboard): minor improvements to chart context menu (#11170)
Bumping "Explore/edit chart" as the first option. Getting rid of the old "edit chart properties" deprecated CRUD link
This commit is contained in:
committed by
GitHub
parent
f109f11ceb
commit
c8a5dec84d
@@ -158,9 +158,9 @@ class SliceHeaderControls extends React.PureComponent {
|
||||
</MenuItem>
|
||||
)}
|
||||
|
||||
{this.props.sliceCanEdit && (
|
||||
<MenuItem href={slice.edit_url} target="_blank">
|
||||
{t('Edit chart metadata')}
|
||||
{this.props.supersetCanExplore && (
|
||||
<MenuItem onClick={this.exploreChart}>
|
||||
{t('Explore chart')}
|
||||
</MenuItem>
|
||||
)}
|
||||
|
||||
@@ -168,12 +168,6 @@ class SliceHeaderControls extends React.PureComponent {
|
||||
<MenuItem onClick={this.exportCSV}>{t('Export CSV')}</MenuItem>
|
||||
)}
|
||||
|
||||
{this.props.supersetCanExplore && (
|
||||
<MenuItem onClick={this.exploreChart}>
|
||||
{t('Explore chart')}
|
||||
</MenuItem>
|
||||
)}
|
||||
|
||||
<MenuItem onClick={this.handleToggleFullSize}>{resizeLabel}</MenuItem>
|
||||
|
||||
<URLShortLinkModal
|
||||
|
||||
Reference in New Issue
Block a user