Merge pull request #1265 from getredash/fix/dashboard_refresh

Fix: refresh modal not working for unsaved query
This commit is contained in:
Arik Fraimovich 2016-08-30 18:32:55 +03:00 committed by GitHub
commit 4710c4193e

View File

@ -205,7 +205,8 @@
<!-- refresh schedule -->
<span class="zmdi zmdi-refresh"></span>
<span class="text-muted">Refresh Schedule</span>
<a ng-click="openScheduleForm()">{{query.schedule | scheduleHumanize}}</a>
<a ng-click="openScheduleForm()" ng-if="!query.isNew()">{{query.schedule | scheduleHumanize}}</a>
<span ng-if="query.isNew()">Never</span>
</li>
<li>
<!-- last update -->