{
},
];
- const showReportingContextMenu = this.state.isReportingPluginInstalled ? (
-
-
- this.setState({
- isReportingActionsPopoverOpen: !this.state.isReportingActionsPopoverOpen,
- })
- }
- >
- Reporting
-
- }
- isOpen={this.state.isReportingActionsPopoverOpen}
- closePopover={() => this.setState({ isReportingActionsPopoverOpen: false })}
- >
-
-
-
- ) : null;
+ const showReportingContextMenu =
+ this.state.isReportingPluginInstalled && !this.state.dataSourceMDSEnabled ? (
+
+
+ this.setState({
+ isReportingActionsPopoverOpen: !this.state.isReportingActionsPopoverOpen,
+ })
+ }
+ >
+ Reporting
+
+ }
+ isOpen={this.state.isReportingActionsPopoverOpen}
+ closePopover={() => this.setState({ isReportingActionsPopoverOpen: false })}
+ >
+
+
+
+ ) : null;
const showLoadingModal = this.state.isReportingLoadingModalOpen ? (