diff --git a/adev/src/app/features/update/update.component.html b/adev/src/app/features/update/update.component.html
index c143eedff7e..163a6ed63e2 100644
--- a/adev/src/app/features/update/update.component.html
+++ b/adev/src/app/features/update/update.component.html
@@ -147,8 +147,12 @@
Before you update
@for (r of beforeRecommendations; track $index) {
-
-
+
+
{{ getComplexityLevelName(r.level) }}
@@ -171,8 +175,12 @@
@for (r of duringRecommendations; track $index) {
-
-
+
+
{{ getComplexityLevelName(r.level) }}
@@ -189,8 +197,12 @@
After you update
@for (r of afterRecommendations; track $index) {
-
-
+
+
{{ getComplexityLevelName(r.level) }}
diff --git a/adev/src/app/features/update/update.component.scss b/adev/src/app/features/update/update.component.scss
index 968e47de00a..1a5e043da1b 100644
--- a/adev/src/app/features/update/update.component.scss
+++ b/adev/src/app/features/update/update.component.scss
@@ -137,6 +137,7 @@ h4 {
align-items: center;
justify-content: space-between;
gap: 1rem;
+ cursor: pointer;
}
.adev-complexity-badge {
diff --git a/adev/src/app/features/update/update.component.ts b/adev/src/app/features/update/update.component.ts
index 6445d9188cc..f0814b62d83 100644
--- a/adev/src/app/features/update/update.component.ts
+++ b/adev/src/app/features/update/update.component.ts
@@ -154,6 +154,18 @@ export default class UpdateComponent {
}
}
+ protected toggleRecommendation(event: MouseEvent, checkbox: MatCheckbox): void {
+ const target = event.target as Element | null;
+
+ // Keep links in the recommendation independently operable.
+ if (target?.closest('a')) {
+ return;
+ }
+
+ checkbox.toggle();
+ checkbox.focus();
+ }
+
async showUpdatePath() {
this.beforeRecommendations = [];
this.duringRecommendations = [];