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

nixon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/atlas.git

commit ae3f655872c3a114ef1b38e2de77d270530e8db6
Author: prasad pawar <prasad.pa...@freestoneinfotech.com>
AuthorDate: Fri Jun 4 15:04:06 2021 +0530

    ATLAS-4325:[Atlas: Glossary Term Bulk Import] [UI] Unable to perform bulk 
import glossary term via UI, fixed
    
    Signed-off-by: nixonrodrigues <ni...@apache.org>
---
 dashboardv2/public/js/views/import/ImportLayoutView.js | 2 +-
 dashboardv3/public/js/views/import/ImportLayoutView.js | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dashboardv2/public/js/views/import/ImportLayoutView.js 
b/dashboardv2/public/js/views/import/ImportLayoutView.js
index 88d553c..27440bb 100644
--- a/dashboardv2/public/js/views/import/ImportLayoutView.js
+++ b/dashboardv2/public/js/views/import/ImportLayoutView.js
@@ -91,7 +91,7 @@ define([
                     }
                 }
                 var headers = {};
-                headers[CommonViewFunction.restCsrfCustomHeader] = '""';
+                headers[CommonViewFunction.restCsrfCustomHeader] = 
CommonViewFunction.restCsrfValue || '""';
                 this.ui.importGlossary.dropzone({
                     url: that.isGlossary ? UrlLinks.glossaryImportUrl() : 
UrlLinks.businessMetadataImportUrl(),
                     clickable: true,
diff --git a/dashboardv3/public/js/views/import/ImportLayoutView.js 
b/dashboardv3/public/js/views/import/ImportLayoutView.js
index 88d553c..27440bb 100644
--- a/dashboardv3/public/js/views/import/ImportLayoutView.js
+++ b/dashboardv3/public/js/views/import/ImportLayoutView.js
@@ -91,7 +91,7 @@ define([
                     }
                 }
                 var headers = {};
-                headers[CommonViewFunction.restCsrfCustomHeader] = '""';
+                headers[CommonViewFunction.restCsrfCustomHeader] = 
CommonViewFunction.restCsrfValue || '""';
                 this.ui.importGlossary.dropzone({
                     url: that.isGlossary ? UrlLinks.glossaryImportUrl() : 
UrlLinks.businessMetadataImportUrl(),
                     clickable: true,

Reply via email to