Skip to content

Commit

Permalink
refactor(cc-env-var-form): avoid setting both disabled & waiting
Browse files Browse the repository at this point in the history
…at the same time

Fixes #1124
  • Loading branch information
florian-sanders-cc committed Jan 14, 2025
1 parent 5efc598 commit 2f1af6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/cc-env-var-form/cc-env-var-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ export class CcEnvVarForm extends LitElement {
<cc-button
success
?disabled=${isFormDisabled}
?disabled=${isFormDisabled && !isSaving}
?waiting="${isSaving}"
@cc-button:click=${this._onUpdateForm}
>${i18n('cc-env-var-form.update')}</cc-button
Expand Down

0 comments on commit 2f1af6e

Please sign in to comment.