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 dee35342d..f790f08b4 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 @@ -90,6 +90,7 @@
{{ $t('exoplatform.kudos.visibility.title') }} @@ -276,7 +277,8 @@ export default { username: eXo.env.portal.userName, spaceId: eXo.env.portal.spaceId, spacePrettyName: eXo.env.portal.spaceName, - audienceChoice: null, + postToNetwork: eXo.env.portal.postToNetworkEnabled, + audienceChoice: eXo.env.portal.postToNetworkEnabled && 'yourNetwork' || 'oneOfYourSpaces', space: null, noReceiverIdentityId: false }; @@ -453,7 +455,7 @@ export default { return this.audienceChoice === 'yourNetwork'; }, spaceSuggesterDisplay() { - return this.postInYourSpacesChoice && !this.audience; + return (this.postToNetwork && this.postInYourSpacesChoice && !this.spaceId) || !this.postToNetwork ; }, audienceAvatarDisplay() { return (this.audience && this.postInYourSpacesChoice) || this.readOnlySpace;