Skip to content

Commit

Permalink
[FIX] updated code
Browse files Browse the repository at this point in the history
  • Loading branch information
pouyababaie committed Mar 24, 2024
1 parent f332e2d commit 4521434
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/components/metergroup/metergroup.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -142,7 +142,7 @@ export class MeterGroup implements AfterContentInit {

iconTemplate: TemplateRef<any> | undefined;

container = viewChild('container', { read: ElementRef });
container = ViewChild('container', { read: ElementRef });

containerEffect = effect(() => {
const _container = this.container();
Expand Down

1 comment on commit 4521434

@mojo2405
Copy link

@mojo2405 mojo2405 commented on 4521434 Mar 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cetincakiroglu Please push this

Please sign in to comment.