Skip to content

Commit

Permalink
fix: Poll's Post button is always disabled - EXO-71446 - Meeds-io/mee…
Browse files Browse the repository at this point in the history
…ds#2403

Before this change, when set property
exo.feature.PostToNetwork.enabled=false, launch server and create spaceX
then on spaceX AS and choose poll then create poll and save, POST button
is disabled.
After this change, As poll is created&saved, Poll button is enabled and
once submitted poll is posted.

(cherry picked from commit cb95f81)
  • Loading branch information
Jihed525 authored Sep 23, 2024
1 parent 7c48e6d commit 0cc769f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ export default {
|| this.loading
|| (!!this.activityId && !this.activityBodyEdited && !this.activityAttachmentsEdited)
|| (!this.activityAttachmentsEdited && !this.messageLength && !this.activityBodyEdited)
|| (this.postInYourSpacesChoice && !this.spaceId)
|| (this.postInYourSpacesChoice && !(this.spaceId || this.activityType?.toString()?.includes('poll') && eXo.env.portal.spaceId))
|| (!this.postToNetwork && !eXo.env.portal.spaceId && !this.spaceId && !this.messageEdited);
},
metadataObjectId() {
Expand Down

0 comments on commit 0cc769f

Please sign in to comment.