superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject [incubator-superset] branch master updated: make access request open new tab (#5859)
Date Tue, 11 Sep 2018 23:18:16 GMT
This is an automated email from the ASF dual-hosted git repository.

timi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 01212c3  make access request open new tab (#5859)
01212c3 is described below

commit 01212c3755ba0368ed04e3126268571165639469
Author: timifasubaa <30888507+timifasubaa@users.noreply.github.com>
AuthorDate: Tue Sep 11 16:18:14 2018 -0700

    make access request open new tab (#5859)
    
    * make access request open new tab
    
    * trigger build
---
 superset/assets/src/components/StackTraceMessage.jsx | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/superset/assets/src/components/StackTraceMessage.jsx b/superset/assets/src/components/StackTraceMessage.jsx
index 71b0972..9253108 100644
--- a/superset/assets/src/components/StackTraceMessage.jsx
+++ b/superset/assets/src/components/StackTraceMessage.jsx
@@ -38,7 +38,13 @@ class StackTraceMessage extends React.PureComponent {
         >
           {this.props.message}
           {this.hasLink() &&
-          <a href={this.props.queryResponse.link}> (Request Access) </a>
+          <a
+            href={this.props.queryResponse.link}
+            target="_blank"
+            rel="noopener noreferrer"
+          >
+            (Request Access)
+          </a>
        }
         </Alert>
         {this.hasTrace() &&


Mime
View raw message