Skip to content

Commit

Permalink
Fix for not implemented ngOnDestroy method in vault items component (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
gbubemismith authored Apr 11, 2024
1 parent 5939241 commit c7ea352
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/angular/src/vault/components/vault-items.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c7ea352

Please sign in to comment.