Skip to content

Commit bb40a88

Browse files
committed
ACM: Support attaching Alerts from the ACM UI's Alert details page
1 parent dd2038e commit bb40a88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hooks/useLocationContext.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ export const useLocationContext = () => {
106106
}
107107
}
108108

109-
// Alert details page
110-
if (new RegExp('^/monitoring/alerts/[0-9]+').test(path)) {
109+
// Alert details page (including the ACM UI's Alert details page)
110+
if (new RegExp('/monitoring/alerts/[0-9]+').test(path)) {
111111
if (params.has('alertname')) {
112112
setKind('Alert');
113113
setName(params.get('alertname'));

0 commit comments

Comments
 (0)