Skip to content

Commit 91d97ba

Browse files
fix: adjust non-admin perspective routes to handle the horizontalnav
1 parent ddea0de commit 91d97ba

3 files changed

Lines changed: 2 additions & 37 deletions

File tree

config/acm-alerting.patch.json

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@
2020
"properties": {
2121
"exact": false,
2222
"path": [
23-
"/multicloud/monitoring/alerts",
24-
"/multicloud/monitoring/silences",
25-
"/multicloud/monitoring/alertrules"
23+
"/multicloud/monitoring"
2624
],
2725
"component": { "$codeRef": "AlertingPage" }
2826
}
@@ -88,22 +86,6 @@
8886
}
8987
}
9088
},
91-
{
92-
"op": "add",
93-
"path": "/extensions/1",
94-
"value": {
95-
"type": "console.page/route",
96-
"properties": {
97-
"exact": false,
98-
"path": [
99-
"/multicloud/monitoring/alerts",
100-
"/multicloud/monitoring/silences",
101-
"/multicloud/monitoring/alertrules"
102-
],
103-
"component": { "$codeRef": "AlertingPage" }
104-
}
105-
}
106-
},
10789
{
10890
"op": "add",
10991
"path": "/extensions/1",

config/incidents.patch.json

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,5 @@
1313
}
1414
}
1515
}
16-
},
17-
{
18-
"op": "add",
19-
"path": "/extensions/1",
20-
"value": {
21-
"type": "console.tab",
22-
"properties": {
23-
"contextId": "virtualization-perspective-alerts-nav",
24-
"name": "%plugin__monitoring-console-plugin~Incidents%",
25-
"href": "incidents",
26-
"component": {
27-
"$codeRef": "IncidentsPage"
28-
}
29-
}
30-
}
3116
}
3217
]

web/console-extensions.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,9 +262,7 @@
262262
"properties": {
263263
"exact": false,
264264
"path": [
265-
"/virt-monitoring/alerts",
266-
"/virt-monitoring/silences",
267-
"/virt-monitoring/alertrules"
265+
"/virt-monitoring"
268266
],
269267
"component": { "$codeRef": "AlertingPage" }
270268
}

0 commit comments

Comments
 (0)