Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
100bd91330
commit
63de3445cf
|
@ -28,6 +28,7 @@ export function ActionMenu() {
|
|||
canSaveAlerts,
|
||||
canReadAnomalies,
|
||||
} = getAlertingCapabilities(plugins, capabilities);
|
||||
const canSaveApmAlerts = capabilities.apm.save && canSaveAlerts;
|
||||
|
||||
function apmHref(path: string) {
|
||||
return getAPMHref({ basePath, path, search });
|
||||
|
@ -52,7 +53,7 @@ export function ActionMenu() {
|
|||
<AlertingPopoverAndFlyout
|
||||
basePath={basePath}
|
||||
canReadAlerts={canReadAlerts}
|
||||
canSaveAlerts={canSaveAlerts}
|
||||
canSaveAlerts={canSaveApmAlerts}
|
||||
canReadAnomalies={canReadAnomalies}
|
||||
includeTransactionDuration={serviceName !== undefined}
|
||||
/>
|
||||
|
|
Loading…
Reference in a new issue