{{#tabbed-section onTabChange=(action "tabChanged")}}
{{#tab-contents name="info" hint="show info" currentMessage=currentMessage}}
{{#if showTitle}}
Message
{{#if currentMessage.showCount}}
({{currentMessage.count}} copies reported)
{{/if}}
{{/if}}
{{currentMessage.message}}
{{/tab-contents}}
{{#tab-contents name="backtrace" defaultTab="true" hint="show backtrace" currentMessage=currentMessage}}
{{#if showTitle}}
Backtrace
{{/if}}
{{~back-trace
class="backtrace"
backtrace=currentMessage.backtrace
env=currentMessage.env~}}
{{/tab-contents}}
{{#tab-contents className="env" name="env" hint="show environment" currentMessage=currentMessage }}
{{#if currentMessage}}
{{#if currentMessage.env}}
{{#if showTitle}}
Env
{{/if}}
{{env-tab
message=currentMessage
currentEnvPosition=currentEnvPosition
envChangedAction=envChangedAction}}
{{else if loadingEnv}}
Loading env...
{{else}}
No env for this message.
{{/if}}
{{/if}}
{{/tab-contents}}
{{/tabbed-section}}
{{#if currentMessage}}
{{#actions-menu actionsInMenu=actionsInMenu showShare=showShare share=(action "share")}}
{{#each buttons as |btn|}}
{{/each}}
{{/actions-menu}}
{{/if}}