Skip to content

Commit

Permalink
fix rendering of old log entries
Browse files Browse the repository at this point in the history
Signed-off-by: Robin Appelman <robin@icewind.nl>
  • Loading branch information
icewind1991 committed Apr 13, 2018
1 parent 21ff16c commit 8ae1e68
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 52 deletions.
90 changes: 45 additions & 45 deletions build/main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/main.js.map

Large diffs are not rendered by default.

12 changes: 7 additions & 5 deletions js/Components/TraceLine.js
Expand Up @@ -14,11 +14,13 @@ export class TraceLine extends Component {
</p>
<p className={style.call}>
{this.props.class}{this.props.type}{this.props.function}({
this.props.args
.map((arg, i) => [
<Argument key={i} data={arg}/>,
(i < this.props.args.length - 1) ? ', ' : ''
])
this.props.args ?
this.props.args
.map((arg, i) => [
<Argument key={i} data={arg}/>,
(i < this.props.args.length - 1) ? ', ' : ''
]) :
[]
})
</p>
</li>
Expand Down

0 comments on commit 8ae1e68

Please sign in to comment.