Skip to content

Commit

Permalink
rename menu
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoyongjie committed Jun 5, 2022
1 parent b5a4f26 commit 5f4a5a0
Showing 1 changed file with 8 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ class SliceHeaderControls extends React.PureComponent<
<ModalTrigger
triggerNode={
<span data-test="view-query-menu-item">
{t('View results')}
{t('Drill to detail')}
</span>
}
modalTitle={t('Chart Data: %s', slice.slice_name)}
Expand All @@ -348,15 +348,13 @@ class SliceHeaderControls extends React.PureComponent<
/>
}
modalFooter={
<>
<Button
buttonStyle="secondary"
buttonSize="small"
onClick={this.props.onExploreChart}
>
{t('Edit chart')}
</Button>
</>
<Button
buttonStyle="secondary"
buttonSize="small"
onClick={this.props.onExploreChart}
>
{t('Edit chart')}
</Button>
}
draggable
resizable
Expand Down

0 comments on commit 5f4a5a0

Please sign in to comment.