From 8057d3be6f0af85c17092ed2993c18f4f62bdaa6 Mon Sep 17 00:00:00 2001 From: Gabriel Dutra Date: Mon, 16 Sep 2019 04:00:23 -0300 Subject: [PATCH] Query Snippets: Use onClick instead of link for 'Click here' option (#4144) * Snippets: Don't change url when not needed * Revert "Snippets: Don't change url when not needed" This reverts commit 2f346f3bb4aaf8cf6271a73eed9919ef6b600bd1. * Query Snippets: use onClick instead of link --- client/app/pages/query-snippets/QuerySnippetsList.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/app/pages/query-snippets/QuerySnippetsList.jsx b/client/app/pages/query-snippets/QuerySnippetsList.jsx index a9f57ddfb2..63de531229 100644 --- a/client/app/pages/query-snippets/QuerySnippetsList.jsx +++ b/client/app/pages/query-snippets/QuerySnippetsList.jsx @@ -152,7 +152,7 @@ class QuerySnippetsList extends React.Component { There are no query snippets yet. {policy.isCreateQuerySnippetEnabled() && (
- Click here to add one. + this.showSnippetDialog()}>Click here to add one.
)}