Skip to content

Commit

Permalink
Merge b329925 into 701ca80
Browse files Browse the repository at this point in the history
  • Loading branch information
tmmi committed May 10, 2016
2 parents 701ca80 + b329925 commit 4320fb4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/js/components/AppDebugInfoComponent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ var AppDebugInfoComponent = React.createClass({
);
}

lastTaskFailure.id = lastTaskFailure.id || lastTaskFailure.taskId;

const timestamp = lastTaskFailure.timestamp;
const timeStampText = new Date(timestamp) > new Date()
? "Just now"
Expand All @@ -86,7 +88,7 @@ var AppDebugInfoComponent = React.createClass({
<dd>
<span>{version}</span> ({new Moment(version).fromNow()})
</dd>
<dt>Mesos Details</dt>
<dt>Mesos details</dt>
<dd><TaskMesosUrlComponent task={lastTaskFailure}/></dd>
</dl>
);
Expand Down

0 comments on commit 4320fb4

Please sign in to comment.