Skip to content

Commit

Permalink
Disable query in observability logs in data connections table action …
Browse files Browse the repository at this point in the history
…menu

Signed-off-by: Ryan Liang <jiallian@amazon.com>
  • Loading branch information
RyanL1997 committed Jul 24, 2024
1 parent 1111762 commit 8568f4c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ export const ManageDirectQueryDataConnectionsTable: React.FC<ManageDirectQueryDa
isPrimary: true,
icon: 'discoverApp',
type: 'icon',
available: (datasource: DataConnection) => observabilityDashboardsExists,
onClick: (datasource: DataConnection) => {
if (datasource.connectionType === 'PROMETHEUS') {
application!.navigateToApp(observabilityMetricsID);
Expand Down

0 comments on commit 8568f4c

Please sign in to comment.