From 3ae57bc44bb4ddcf4c3ae03172e66ae39f6219ce Mon Sep 17 00:00:00 2001 From: MayTekayaa <100131287+MayTekayaa@users.noreply.github.com> Date: Tue, 5 Sep 2023 16:46:57 +0100 Subject: [PATCH] fix: Fix the send kudos button activation - MEED-2443 - Meeds-io/MIPs#54 (#335) This change will fix the send kudos button activation. --- .../src/main/webapp/vue-app/kudos/components/KudosApp.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kudos-webapps/src/main/webapp/vue-app/kudos/components/KudosApp.vue b/kudos-webapps/src/main/webapp/vue-app/kudos/components/KudosApp.vue index 01dddab96..3f6cf31ec 100644 --- a/kudos-webapps/src/main/webapp/vue-app/kudos/components/KudosApp.vue +++ b/kudos-webapps/src/main/webapp/vue-app/kudos/components/KudosApp.vue @@ -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') ;