Skip to content

Commit

Permalink
Merge pull request #5 from fishtown-analytics/fix/copy-to-clipboard
Browse files Browse the repository at this point in the history
(fixes #4) Use injected_sql instead of compiled_sql in copy to clipboard button
  • Loading branch information
drewbanin authored Sep 14, 2018
2 parents 42c10e7 + 168a08f commit 970ce42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/docs/model.html
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ <h6>SQL</h6>
<li class='nav-pull-right'></li>
<li>
<a class='unselectable'
ng-click="copy_to_clipboard(view_compiled_sql ? model.compiled_sql : model.raw_sql)"
ng-click="copy_to_clipboard(view_compiled_sql ? model.injected_sql : model.raw_sql)"
>{{ copied ? 'copied' : 'copy to clipboard' }}</a>
</li>
</ul>
Expand Down

0 comments on commit 970ce42

Please sign in to comment.