mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
refactor(devtools): Removes redundant input undefined in angularVersion
Simplifies the initialization of the version input by removing
an unnecessary undefined
(cherry picked from commit bd27e96273)
This commit is contained in:
parent
a4fe078969
commit
c4742322dc
1 changed files with 1 additions and 1 deletions
|
|
@ -117,7 +117,7 @@ export class DevToolsTabsComponent {
|
|||
);
|
||||
TOP_LEVEL_FRAME_ID = TOP_LEVEL_FRAME_ID;
|
||||
|
||||
readonly angularVersion = input<string | undefined>(undefined);
|
||||
readonly angularVersion = input<string | undefined>();
|
||||
readonly majorAngularVersion = computed(() => {
|
||||
const version = this.angularVersion();
|
||||
if (!version) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue