Skip to content

Commit 1a9bfa8

Browse files
hawkgsAndrewKushnir
authored andcommitted
fix(devtools): last supported version
Bump to 12, as the message suggests.
1 parent aee536c commit 1a9bfa8

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

devtools/projects/ng-devtools/src/lib/devtools.component.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
<div class="devtools-state-screen">
1515
<mat-icon>upgrade</mat-icon>
1616
<p class="text-message">
17-
Angular DevTools only supports Angular versions 12 and above.
17+
Angular DevTools only supports Angular versions {{ LAST_SUPPORTED_VERSION }} and
18+
above.
1819
</p>
1920
</div>
2021
}

devtools/projects/ng-devtools/src/lib/devtools.component.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ enum AngularStatus {
4747
EXISTS,
4848
}
4949

50-
export const LAST_SUPPORTED_VERSION = 9;
50+
export const LAST_SUPPORTED_VERSION = 12;
5151

5252
@Component({
5353
selector: 'ng-devtools',
@@ -66,6 +66,8 @@ export class DevToolsComponent implements OnDestroy {
6666
readonly hydration = signal(false);
6767
readonly ivy = signal<boolean | undefined>(undefined);
6868

69+
readonly LAST_SUPPORTED_VERSION = LAST_SUPPORTED_VERSION;
70+
6971
readonly supportedVersion = computed(() => {
7072
const version = this.angularVersion();
7173
if (!version) {

0 commit comments

Comments
 (0)