From 8ec2d8a8147cef3fb3cadfab117bf2ec413db369 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Wed, 19 Feb 2020 16:33:09 +0000 Subject: [PATCH] FIX: Disable save button for API key creation when invalid (#9005) --- app/assets/javascripts/admin/templates/api-keys-new.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/admin/templates/api-keys-new.hbs b/app/assets/javascripts/admin/templates/api-keys-new.hbs index aea83704d38..3dac84dae29 100644 --- a/app/assets/javascripts/admin/templates/api-keys-new.hbs +++ b/app/assets/javascripts/admin/templates/api-keys-new.hbs @@ -32,7 +32,7 @@ {{/admin-form-row}} {{/if}} {{#admin-form-row}} - {{d-button icon="check" label="admin.api.save" action=(action "save") class="btn-primary"}} + {{d-button icon="check" label="admin.api.save" action=(action "save") class="btn-primary" disabled=saveDisabled}} {{/admin-form-row}} {{/if}}