fix: 🐛 use @checked

This commit is contained in:
Randall Morey committed 2022-02-15 15:58:31 -05:00
1 parent e5e231f93a
commit fb266d548c
2 files changed
+1 -10

No files matched your search

@@ -157,7 +157,7 @@
<form.checkbox
@name='disable_credential_rotation'
@value={{@model.disable_credential_rotation}}
@checked={{@model.disable_credential_rotation}}
@label={{t 'form.disable_credential_rotation.label'}}
@onChange={{fn this.toggleDisableCredentialRotation @model}}
/>
@@ -159,15 +159,6 @@
readonly={{false}}
/>
<form.checkbox
@name='disable_credential_rotation'
@value={{@model.disable_credential_rotation}}
@label={{t 'form.disable_credential_rotation.label'}}
@disabled={{true}}
/>
&nbsp;
{{#if (can 'save model' @model)}}
<form.actions
@disabled={{if @model.cannotSave @model.cannotSave}}