From 452143410f15002e45e69a212728a5aca935c359 Mon Sep 17 00:00:00 2001 From: Pouya Babaie Date: Sun, 24 Mar 2024 11:36:45 +0330 Subject: [PATCH] [FIX] updated code --- src/app/components/metergroup/metergroup.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/components/metergroup/metergroup.ts b/src/app/components/metergroup/metergroup.ts index 33874fca093..ab8c6af8095 100644 --- a/src/app/components/metergroup/metergroup.ts +++ b/src/app/components/metergroup/metergroup.ts @@ -1,5 +1,5 @@ import { CommonModule } from '@angular/common'; -import { AfterContentInit, ChangeDetectionStrategy, Component, ContentChildren, ElementRef, Input, NgModule, QueryList, TemplateRef, ViewEncapsulation, effect, forwardRef, inject, viewChild } from '@angular/core'; +import { AfterContentInit, ChangeDetectionStrategy, Component, ContentChildren, ElementRef, Input, NgModule, QueryList, TemplateRef, ViewEncapsulation, effect, forwardRef, inject, ViewChild } from '@angular/core'; import { PrimeTemplate, SharedModule } from 'primeng/api'; import { DomHandler } from 'primeng/dom'; import { MeterItem } from './metergroup.interface'; @@ -142,7 +142,7 @@ export class MeterGroup implements AfterContentInit { iconTemplate: TemplateRef | undefined; - container = viewChild('container', { read: ElementRef }); + container = ViewChild('container', { read: ElementRef }); containerEffect = effect(() => { const _container = this.container();