Skip to content

Commit

Permalink
Fixes "disabled" is not defined bug
Browse files Browse the repository at this point in the history
  • Loading branch information
gdixon committed Mar 4, 2021
1 parent 9d53ff5 commit 997bc6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/grants/templates/grants/cart/eth.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
<div class="cursor-pointer px-0 col-auto">
<input v-model="grant.grant_comments_bool" :id="`comment-${grant.grant_id}-blank`" type="checkbox" class="d-none" :name="`comment-${grant.grant_id}`"
:checked="grant.grant_comments_bool || !!grant.grant_comments"
:disabled="grant.grant_comments ? '' : disabled"
:disabled="!!grant.grant_comments"
/>
<label class="border rounded-circle mb-0 cursor-pointer" :for="`comment-${grant.grant_id}-blank`">
<i class="far fa-comment p-2" aria-hidden="true"></i>
Expand Down

0 comments on commit 997bc6e

Please sign in to comment.