disable editor play button if there are errors in the config (#11383)

This commit is contained in:
Peter Pisljar 2017-04-26 09:01:08 +02:00 committed by GitHub
parent 984aaa80cf
commit 8694acb9e4

View file

@ -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>