From 96058ce09bb462fa0c5dbc3f1db2957c529fae0b Mon Sep 17 00:00:00 2001
From: kbeyro <121854496+kbeyro@users.noreply.github.com>
Date: Tue, 11 Feb 2025 11:23:15 +0100
Subject: [PATCH] update ngOnDestroy

---
 .../appmarket/bulkDeployment/bulk-list/bulk-list.component.ts  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/app/appmarket/bulkDeployment/bulk-list/bulk-list.component.ts b/src/app/appmarket/bulkDeployment/bulk-list/bulk-list.component.ts
index 45925ffb..4883a6bb 100644
--- a/src/app/appmarket/bulkDeployment/bulk-list/bulk-list.component.ts
+++ b/src/app/appmarket/bulkDeployment/bulk-list/bulk-list.component.ts
@@ -203,8 +203,7 @@ export class BulkListComponent implements OnDestroy, OnInit {
 
         
     public ngOnDestroy() {
-        if (this.refresh !== undefined) {
-            this.refresh.unsubscribe();
+        if (this.refreshQueue !== undefined) {
             this.refreshQueue.unsubscribe();
         }
     }
-- 
GitLab