This is an automated email from the ASF dual-hosted git repository.

pinal pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/atlas.git

commit 217831412bf7508622cfb73c261764083a308551
Author: prasad pawar <prasad.pa...@freestoneinfotech.com>
AuthorDate: Wed Sep 22 12:53:12 2021 +0530

    ATLAS-4429:#1:UI: (New UI) Deleting a classification immediately after 
creating it results in endless loading
    
    Signed-off-by: Pinal Shah <pinal.s...@freestoneinfotech.com>
---
 .../public/js/views/search/tree/ClassificationTreeLayoutView.js       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/dashboardv3/public/js/views/search/tree/ClassificationTreeLayoutView.js 
b/dashboardv3/public/js/views/search/tree/ClassificationTreeLayoutView.js
index 3bfc201..ef53c95 100644
--- a/dashboardv3/public/js/views/search/tree/ClassificationTreeLayoutView.js
+++ b/dashboardv3/public/js/views/search/tree/ClassificationTreeLayoutView.js
@@ -201,7 +201,7 @@ define([
             var that = this;
             this.listenTo(
                 this.classificationDefCollection.fullCollection,
-                "reset add",
+                "reset",
                 function(model) {
                     that.classificationTreeUpdate = true;
                     that.classificationTreeRefresh();
@@ -210,7 +210,7 @@ define([
             );
             this.listenTo(
                 this.classificationDefCollection.fullCollection,
-                "remove",
+                "remove add",
                 function(model) {
                     that.classificationTreeUpdate = false;
                     that.classificationTreeRefresh();

Reply via email to