From c7ea35280d66bec969d0af4fbd3c7fa3aa8b25fe Mon Sep 17 00:00:00 2001 From: SmithThe4th Date: Thu, 11 Apr 2024 19:42:42 +0100 Subject: [PATCH] Fix for not implemented ngOnDestroy method in vault items component (#8708) --- libs/angular/src/vault/components/vault-items.component.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/angular/src/vault/components/vault-items.component.ts b/libs/angular/src/vault/components/vault-items.component.ts index 458b10865c..20e779e77c 100644 --- a/libs/angular/src/vault/components/vault-items.component.ts +++ b/libs/angular/src/vault/components/vault-items.component.ts @@ -52,7 +52,8 @@ export class VaultItemsComponent implements OnInit, OnDestroy { } ngOnDestroy(): void { - throw new Error("Method not implemented."); + this.destroy$.next(); + this.destroy$.complete(); } async load(filter: (cipher: CipherView) => boolean = null, deleted = false) {