+ {{i18n
+ "discourse_post_event.models.invitee.status.going_count.other"
+ count="0"
+ }}
{{/if}}
{{/unless}}
diff --git a/assets/javascripts/discourse/components/discourse-post-event/status.gjs b/assets/javascripts/discourse/components/discourse-post-event/status.gjs
index 056177769..b09deacb9 100644
--- a/assets/javascripts/discourse/components/discourse-post-event/status.gjs
+++ b/assets/javascripts/discourse/components/discourse-post-event/status.gjs
@@ -12,10 +12,6 @@ export default class DiscoursePostEventStatus extends Component {
@service discoursePostEventApi;
@service siteSettings;
- get watchingInviteeStatus() {
- return this.args.event.watchingInvitee?.status;
- }
-
get eventButtons() {
return this.siteSettings.event_participation_buttons.split("|");
}
@@ -36,6 +32,10 @@ export default class DiscoursePostEventStatus extends Component {
return this.args.event.watchingInvitee && this.args.event.isPublic;
}
+ get watchingInviteeStatus() {
+ return this.args.event.watchingInvitee?.status;
+ }
+
@action
async leaveEvent() {
try {
@@ -107,9 +107,9 @@ export default class DiscoursePostEventStatus extends Component {
}