Change: query should be first in create menu

This commit is contained in:
Arik Fraimovich 2017-12-05 14:10:30 +02:00
parent b17794f622
commit b8543eb2bd

View File

@ -41,8 +41,8 @@
Create <span class="caret caret--nav"></span> Create <span class="caret caret--nav"></span>
</button> </button>
<ul class="dropdown-menu" uib-dropdown-menu role="menu" aria-labelledby="create-button"> <ul class="dropdown-menu" uib-dropdown-menu role="menu" aria-labelledby="create-button">
<li role="menuitem"><a ng-show="$ctrl.currentUser.hasPermission('create_dashboard')" ng-click="$ctrl.newDashboard()">Dashboard</a></li>
<li role="menuitem" ng-show="$ctrl.showNewQueryMenu"><a href="queries/new">Query</a></li> <li role="menuitem" ng-show="$ctrl.showNewQueryMenu"><a href="queries/new">Query</a></li>
<li role="menuitem"><a ng-show="$ctrl.currentUser.hasPermission('create_dashboard')" ng-click="$ctrl.newDashboard()">Dashboard</a></li>
<li role="menuitem"><a href="alerts/new">Alert</a></li> <li role="menuitem"><a href="alerts/new">Alert</a></li>
</ul> </ul>
</div> </div>