From 180b0f7cde3de506506d2893320cb1f6611dacf6 Mon Sep 17 00:00:00 2001 From: Helmi Akermi <70575401+hakermi@users.noreply.github.com> Date: Tue, 10 Dec 2024 14:38:59 +0100 Subject: [PATCH] fix: Unable to publish on audience All - EXO-75814 - Meeds-io/MIPs#161 (#339) Prior to this change, when publish an article on audience value a legacy check and value parsing causes an issue in the saved value to be always users. This PR ensures to set the right value sent from the new publication drawer while saving the article to fix the issue. --- .../news-activity-composer-app/components/ContentRichEditor.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content-webapp/src/main/webapp/vue-app/news-activity-composer-app/components/ContentRichEditor.vue b/content-webapp/src/main/webapp/vue-app/news-activity-composer-app/components/ContentRichEditor.vue index f5865fadc..45419f4fc 100644 --- a/content-webapp/src/main/webapp/vue-app/news-activity-composer-app/components/ContentRichEditor.vue +++ b/content-webapp/src/main/webapp/vue-app/news-activity-composer-app/components/ContentRichEditor.vue @@ -491,7 +491,7 @@ export default { this.article.published = publish; this.article.targets = selectedTargets; if (selectedAudience !== null) { - this.article.audience = selectedAudience === this.$t('news.composer.stepper.audienceSection.allUsers') ? 'all' : 'space'; + this.article.audience = selectedAudience; } this.doPostArticle(schedulePostDate); },