From 1e175c56f7424f14cbcc35c4022da010320feb9f Mon Sep 17 00:00:00 2001
From: "madhu.sr" <madhu.sr@vtigersolutions.com>
Date: Wed, 6 Mar 2024 07:06:16 +0530
Subject: [PATCH] #Fixes::1584505755::madhusr::When we delete the emails
 template  for the second time,it is not working properly

---
 .../layouts/v7/modules/EmailTemplates/resources/List.js          | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pkg/vtiger/modules/EmailTemplates/layouts/v7/modules/EmailTemplates/resources/List.js b/pkg/vtiger/modules/EmailTemplates/layouts/v7/modules/EmailTemplates/resources/List.js
index 9507f3ba0..41411b111 100644
--- a/pkg/vtiger/modules/EmailTemplates/layouts/v7/modules/EmailTemplates/resources/List.js
+++ b/pkg/vtiger/modules/EmailTemplates/layouts/v7/modules/EmailTemplates/resources/List.js
@@ -45,6 +45,7 @@ Vtiger_List_Js("EmailTemplates_List_Js", {
                                     }
                                     listInstance.clearList();
                                     listInstance.loadListViewRecords();
+                                    Vtiger_List_Js.listInstance=false;
                                 }
                         );
                     })
-- 
GitLab