Skip to content

Commit

Permalink
fix: Fix the send kudos button activation - MEED-2443 - Meeds-io/MIPs#54
Browse files Browse the repository at this point in the history
 (#335)

This change will fix the send kudos button activation.
  • Loading branch information
MayTekayaa authored Sep 5, 2023
1 parent 447f79b commit 3ae57bc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ export default {
return this.numberOfKudosAllowed - this.remainingKudos;
},
sendButtonDisabled() {
return !this.kudosMessageText|| this.kudosMessageTextLength > this.MESSAGE_MAX_LENGTH || this.kudosMessageValidityLabel || !this.selectedReceiver;
return !this.kudosMessageText|| this.kudosMessageTextLength > this.MESSAGE_MAX_LENGTH || this.kudosMessageValidityLabel || (this.readOnlySpace && !this.selectedReceiver);
},
remainingPeriodLabel() {
return this.remainingDaysToReset === 1 ? this.$t('exoplatform.kudos.label.day') : this.$t('exoplatform.kudos.label.days') ;
Expand Down

0 comments on commit 3ae57bc

Please sign in to comment.