Skip to content
This repository has been archived by the owner on Oct 1, 2021. It is now read-only.

Commit

Permalink
fix(add style): move disabled state from exit button to submit button
Browse files Browse the repository at this point in the history
  • Loading branch information
VChet committed Oct 10, 2020
1 parent a075166 commit 9af0285
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/src/components/dialogs/AddStyleDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<close-button v-show="url" @click="url = ''" />
</div>
<div class="dialog-buttons">
<button class="style-button" type="button" :disabled="isSubmitting" @click="$emit('close')">Not now</button>
<button class="style-button" type="button" @click="$emit('close')">Not now</button>
<vue-recaptcha
ref="recaptcha"
tabindex="0"
Expand All @@ -16,7 +16,7 @@
@verify="submitStyle"
@expired="onCaptchaExpired"
>
<button class="style-button-filled" type="submit">Add</button>
<button class="style-button-filled" :disabled="isSubmitting" type="submit">Add</button>
</vue-recaptcha>
</div>
</template>
Expand Down

0 comments on commit 9af0285

Please sign in to comment.