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 2b62494f5..7f95dfc58 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 @@ -151,7 +151,7 @@ icon v-bind="attrs" v-on="on" - @click="removeAudience()"> + @click="resetAudienceChoice()"> fas fa-redo @@ -398,7 +398,7 @@ export default { return this.postInYourSpacesChoice && !this.audience; }, audienceTypesDisplay() { - return (!this.spaceId && !this.isLinkedKudos) || (!this.spaceId && !this.readOnlySpace) || !this.readOnlySpace; + return (!this.spaceId && !this.isLinkedKudos) || (!this.spaceId && !this.readOnlySpace) || (!this.readOnlySpace && this.postInYourSpacesChoice && !this.audience); }, audienceAvatarDisplay() { return (this.audience && this.postInYourSpacesChoice) || this.readOnlySpace; @@ -585,7 +585,6 @@ export default { .then(() => { this.selectedReceiver = null; this.resetAudienceChoice(); - this.removeAudience(); this.noReceiverIdentityId = false; this.$refs.activityKudosDrawer.close(); this.displayAlert(this.$t('exoplatform.kudos.success.kudosSent')); @@ -623,6 +622,7 @@ export default { }, resetAudienceChoice() { this.audienceChoice = null; + this.audience = ''; }, removeAudience() { this.audience = '';