From 2ae4addb53aacffee843373266127aa1dd080024 Mon Sep 17 00:00:00 2001 From: Daniel Bisgrove Date: Wed, 27 Nov 2024 11:15:48 -0500 Subject: [PATCH] Cleaning up implements --- .../content-flow-item/content-flow-item.component.ts | 10 ++++++++-- .../content-multiselect-option.component.ts | 10 ++++++++-- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/src/app/page/component/content-flow-item/content-flow-item.component.ts b/src/app/page/component/content-flow-item/content-flow-item.component.ts index b776f6df..ef305585 100644 --- a/src/app/page/component/content-flow-item/content-flow-item.component.ts +++ b/src/app/page/component/content-flow-item/content-flow-item.component.ts @@ -1,4 +1,10 @@ -import { Component, Input, OnChanges, SimpleChanges } from '@angular/core'; +import { + Component, + Input, + OnChanges, + OnDestroy, + SimpleChanges +} from '@angular/core'; import { Content, FlowItem, @@ -11,7 +17,7 @@ import { PageService } from '../../service/page-service.service'; templateUrl: './content-flow-item.component.html', styleUrls: ['./content-flow-item.component.css'] }) -export class ContentFlowItemComponent implements OnChanges { +export class ContentFlowItemComponent implements OnChanges, OnDestroy { @Input() item: FlowItem; contents: Content[]; ready: boolean; diff --git a/src/app/page/component/content-multiselect-option/content-multiselect-option.component.ts b/src/app/page/component/content-multiselect-option/content-multiselect-option.component.ts index 95283ed7..f486b9c1 100644 --- a/src/app/page/component/content-multiselect-option/content-multiselect-option.component.ts +++ b/src/app/page/component/content-multiselect-option/content-multiselect-option.component.ts @@ -1,4 +1,10 @@ -import { Component, Input, OnChanges, SimpleChanges } from '@angular/core'; +import { + Component, + Input, + OnChanges, + OnDestroy, + SimpleChanges +} from '@angular/core'; import { Content, FlowWatcher, @@ -11,7 +17,7 @@ import { PageService } from '../../service/page-service.service'; templateUrl: './content-multiselect-option.component.html', styleUrls: ['./content-multiselect-option.component.css'] }) -export class ContentMultiselectOptionComponent implements OnChanges { +export class ContentMultiselectOptionComponent implements OnChanges, OnDestroy { @Input() item: MultiselectOption; option: MultiselectOption; contents: Content[];