Permalink
Browse files

Fix: View Query link was pointing to the wrong page

  • Loading branch information...
1 parent 47b1b03 commit 57e25786cd05b5047008992cf0a9f4618443cf0a @arikfr arikfr committed Jan 11, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 client/app/pages/dashboards/widget.html
@@ -19,7 +19,7 @@
<ul class="dropdown-menu pull-right" uib-dropdown-menu style="z-index:1000000">
<li><a ng-disabled="!$ctrl.queryResult.getData()" query-result-link target="_self">Download as CSV File</a></li>
<li><a ng-disabled="!$ctrl.queryResult.getData()" file-type="xlsx" query-result-link target="_self">Download as Excel File</a></li>
- <li><a ng-href="queries/{{query.id}}#{{widget.visualization.id}}" ng-show="$ctrl.canViewQuery">View Query</a></li>
+ <li><a ng-href="queries/{{$ctrl.query.id}}#{{$ctrl.widget.visualization.id}}" ng-show="$ctrl.canViewQuery">View Query</a></li>
<li><a ng-show="$ctrl.dashboard.canEdit()" ng-click="$ctrl.deleteWidget()">Remove From Dashboard</a></li>
</ul>
</div>

0 comments on commit 57e2578

Please sign in to comment.