Skip to content

Commit

Permalink
Temporarily hide reporting context menu in notebooks (opensearch-proj…
Browse files Browse the repository at this point in the history
…ect#202) (opensearch-project#204)

Signed-off-by: Joshua Li <[email protected]>
(cherry picked from commit ca528fe)

Co-authored-by: Joshua Li <[email protected]>
  • Loading branch information
opensearch-trigger-bot[bot] and joshuali925 authored Jan 24, 2023
1 parent 6b956a6 commit 65d484d
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions public/components/notebooks/components/notebook.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -858,22 +858,6 @@ export class Notebook extends Component<NotebookProps, NotebookState> {
id: 0,
title: 'Reporting',
items: [
{
name: 'Download PDF',
icon: <EuiIcon type="download" />,
onClick: () => {
this.setState({ isReportingActionsPopoverOpen: false });
generateInContextReport('pdf', this.props, this.toggleReportingLoadingModal);
},
},
{
name: 'Download PNG',
icon: <EuiIcon type="download" />,
onClick: () => {
this.setState({ isReportingActionsPopoverOpen: false });
generateInContextReport('png', this.props, this.toggleReportingLoadingModal);
},
},
{
name: 'Create report definition',
icon: <EuiIcon type="calendar" />,
Expand Down

0 comments on commit 65d484d

Please sign in to comment.