Skip to content

Commit

Permalink
pass triggersActionsUi as a dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
mgiota committed Oct 26, 2023
1 parent 81c9252 commit f183702
Showing 1 changed file with 18 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,24 @@ export class SLOAlertsEmbeddable extends AbstractEmbeddable<EmbeddableInput, Emb
ReactDOM.render(
<I18nContext>
<KibanaContextProvider services={this.deps}>
<h1>
<FormattedMessage
id="xpack.observability..h1.alertsEmbeddableLabel"
defaultMessage="Alerts Embeddable"
/>
</h1>
<AlertsStateTable
alertsTableConfigurationRegistry={alertsTableConfigurationRegistry}
configurationId={AlertConsumers.OBSERVABILITY}
id={ALERTS_TABLE_ID}
data-test-subj="alertTable"
featureIds={[AlertConsumers.SLO]}
query={{
bool: {
filter: [
{ term: { 'slo.id': slo.id } },
{ term: { 'slo.instanceId': slo.instanceId ?? ALL_VALUE } },
],
},
}}
showExpandToDetails={false}
showAlertStatusWithFlapping
pageSize={100}
/>
</KibanaContextProvider>
</I18nContext>,
node
Expand Down

0 comments on commit f183702

Please sign in to comment.