Skip to content

Commit

Permalink
disable editor play button if there are errors in the config (#11383)
Browse files Browse the repository at this point in the history
  • Loading branch information
ppisljar authored Apr 26, 2017
1 parent 984aaa8 commit 8694acb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
data-test-subj="visualizeEditorRenderButton"
class="kuiButton kuiButton--primary navbar-btn-link"
type="submit"
ng-disabled="!vis.dirty"
ng-disabled="!vis.dirty || visualizeEditor.errorCount() > 0"
>
<i class="fa fa-play"></i>
</button>
Expand Down

0 comments on commit 8694acb

Please sign in to comment.