Skip to content

Commit

Permalink
[Stack monitoring] Remove angular (#115063) (#115406)
Browse files Browse the repository at this point in the history
* Remove angular

* Fix translations

* convert insetupmode to boolean

* remove license service

Co-authored-by: Kibana Machine <[email protected]>

Co-authored-by: Ester Martí Vilaseca <[email protected]>
  • Loading branch information
kibanamachine and estermv authored Oct 18, 2021
1 parent daaf60d commit f106f02
Show file tree
Hide file tree
Showing 114 changed files with 68 additions and 7,399 deletions.
1 change: 0 additions & 1 deletion x-pack/plugins/monitoring/kibana.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"home",
"alerting",
"kibanaReact",
"licenseManagement",
"kibanaLegacy"
]
}
2 changes: 1 addition & 1 deletion x-pack/plugins/monitoring/public/alerts/badge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const AlertsBadge: React.FC<Props> = (props: Props) => {
const groupByType = GROUP_BY_NODE;
const panels = showByNode
? getAlertPanelsByNode(PANEL_TITLE, alerts, stateFilter)
: getAlertPanelsByCategory(PANEL_TITLE, inSetupMode, alerts, stateFilter);
: getAlertPanelsByCategory(PANEL_TITLE, !!inSetupMode, alerts, stateFilter);
if (panels.length && !inSetupMode && panels[0].items) {
panels[0].items.push(
...[
Expand Down
246 changes: 0 additions & 246 deletions x-pack/plugins/monitoring/public/angular/app_modules.ts

This file was deleted.

39 changes: 0 additions & 39 deletions x-pack/plugins/monitoring/public/angular/helpers/routes.ts

This file was deleted.

45 changes: 0 additions & 45 deletions x-pack/plugins/monitoring/public/angular/helpers/utils.ts

This file was deleted.

Loading

0 comments on commit f106f02

Please sign in to comment.