client-app/app/templates/components/message-info.hbs in logster-2.4.0 vs client-app/app/templates/components/message-info.hbs in logster-2.4.1
- old
+ new
@@ -1,7 +1,7 @@
<div class="message-info">
- {{#tabbed-section}}
+ {{#tabbed-section onTabChange=(action "tabChanged")}}
{{#tab-contents name="info" hint="show info" currentMessage=currentMessage}}
{{#if showTitle}}
<h3>Message
{{#if currentMessage.showCount}}
({{currentMessage.count}} copies reported)
@@ -14,17 +14,21 @@
{{#if showTitle}}
<h3>Backtrace</h3>
{{/if}}
<pre>{{currentMessage.backtrace}}</pre>
{{/tab-contents}}
- {{#if currentMessage.env}}
- {{#tab-contents className="env" name="env" hint="show environment" currentMessage=currentMessage}}
+ {{#tab-contents className="env" name="env" hint="show environment" currentMessage=currentMessage }}
+ {{#if currentMessage.env}}
{{#if showTitle}}
<h3>Env</h3>
{{/if}}
{{env-tab message=currentMessage}}
- {{/tab-contents}}
- {{/if}}
+ {{else if loadingEnv}}
+ Loading env...
+ {{else}}
+ No env for this message.
+ {{/if}}
+ {{/tab-contents}}
{{/tabbed-section}}
{{#if currentMessage}}
<div class='message-actions'>
{{#actions-menu actionsInMenu=actionsInMenu share=(action "share")}}