Skip to content

Commit

Permalink
Disable button in CopyModal for histories when copying history
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedhamidawan committed Oct 5, 2023
1 parent b40f108 commit 35f77af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/History/Modals/CopyModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<div slot="modal-footer" slot-scope="{ ok, cancel }">
<div>
<b-button class="mr-3" @click="cancel()"> Cancel </b-button>
<b-button :variant="saveVariant" :disabled="!formValid" @click="copy(ok)">
<b-button :variant="saveVariant" :disabled="loading || !formValid" @click="copy(ok)">
{{ saveTitle | localize }}
</b-button>
</div>
Expand Down

0 comments on commit 35f77af

Please sign in to comment.