{{#if (eq this.displayState "sent")}}
Sent
{{else}} {{this.triggerText}} {{svg-jar "arrow-down"}} {{#if (eq this.displayState "published")}} {{else if (eq this.displayState "scheduled")}} {{else}} {{/if}} {{!-- save button needs to be outside of menu components so it doesn't lose state or cancel the task when the post status updates and switches components --}} {{/if}} {{!-- Workaround to have an always-shown element to attach key handlers to. TODO: Move onto main element once converted to a glimmer component --}}