From 3ca7390b05d013d3d5ff2e5869e746feb57bfa55 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Mon, 18 Mar 2024 11:26:53 +0300 Subject: [PATCH] Removed legacy templates --- src/app/components/metergroup/metergroup.ts | 4 +- .../pages/templates/templates.component.html | 227 +----------------- 2 files changed, 3 insertions(+), 228 deletions(-) diff --git a/src/app/components/metergroup/metergroup.ts b/src/app/components/metergroup/metergroup.ts index c62970b24b7..0db94448b8c 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, ViewChild, ViewEncapsulation, effect, forwardRef, inject, viewChild } from '@angular/core'; +import { AfterContentInit, ChangeDetectionStrategy, Component, ContentChildren, ElementRef, Input, NgModule, QueryList, TemplateRef, ViewChild, ViewEncapsulation, effect, forwardRef, inject } 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(); diff --git a/src/app/showcase/pages/templates/templates.component.html b/src/app/showcase/pages/templates/templates.component.html index d49e0140882..6647485b84b 100644 --- a/src/app/showcase/pages/templates/templates.component.html +++ b/src/app/showcase/pages/templates/templates.component.html @@ -125,51 +125,6 @@

Templates

- - - - - - - - - - - - - - - - \ No newline at end of file +