Skip to content
Snippets Groups Projects
Commit b5bbcea7 authored by Kyle Doherty's avatar Kyle Doherty
Browse files

don't remove useful things like setquery goofus

parent e4622dc3
No related branches found
No related tags found
No related merge requests found
......@@ -57,8 +57,9 @@ const TagExample = ({ datasetQuery, setQuery }) =>
<div
className="Button Button--small"
data-metabase-event="QueryBuilder;Template Tage Example Query Used"
}}>
Try it
onClick={() => setQuery(datasetQuery, true)}
>
Try it
</div>
)}
</p>
......@@ -117,7 +118,7 @@ const TagEditorHelp = ({ setQuery, sampleDatasetId }) => {
<TagExample datasetQuery={EXAMPLES.multipleOptional} setQuery={setQueryWithSampleDatasetId} />
<p>
<a href="http://www.metabase.com/docs/latest/users-guide/start" target="_blank" data-metabase-event="QueryBuilder;Template Tag Documentation Click">Read the full documentation</a>
<a href="http://www.metabase.com/docs/latest/users-guide/start" target="_blank" onClick={() => MetabaseAnalytics.trackEvent('QueryBuilder', 'Template Tag Documentation Click') }>Read the full documentation</a>
</p>
</div>
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment