From 96a1f3d052464c955929a42bc8020c75de94a9cb Mon Sep 17 00:00:00 2001 From: Jordan Vidrine Date: Fri, 8 Nov 2024 12:57:50 -0600 Subject: [PATCH] confusing merge, might be broken --- .../components/discourse-post-event/index.gjs | 15 +++++++------ .../discourse-post-event/invitees.gjs | 21 ++++++++++++++----- .../discourse-post-event/status.gjs | 2 +- 3 files changed, 26 insertions(+), 12 deletions(-) diff --git a/assets/javascripts/discourse/components/discourse-post-event/index.gjs b/assets/javascripts/discourse/components/discourse-post-event/index.gjs index 1c8c9e649..5747596e5 100644 --- a/assets/javascripts/discourse/components/discourse-post-event/index.gjs +++ b/assets/javascripts/discourse/components/discourse-post-event/index.gjs @@ -2,6 +2,7 @@ import Component from "@glimmer/component"; import { hash } from "@ember/helper"; import { service } from "@ember/service"; import { modifier } from "ember-modifier"; +import { eq, or } from "truth-helpers"; import PluginOutlet from "discourse/components/plugin-outlet"; import concatClass from "discourse/helpers/concat-class"; import replaceEmoji from "discourse/helpers/replace-emoji"; @@ -67,6 +68,10 @@ export default class DiscoursePostEvent extends Component { return this.currentUser && this.args.event.can_act_on_discourse_post_event; } + get watchingInviteeStatus() { + return this.args.event.watchingInvitee?.status; + } +