Skip to content

Commit

Permalink
fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
badrAZ committed May 18, 2017
1 parent 6f79e81 commit 61454e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/xo-server-usage-report/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ Handlebars.registerHelper('math', function (lvalue, operator, rvalue, options) {
})

Handlebars.registerHelper('shortUUID', uuid => {
if(uuid !== undefined) {
if (typeof uuid === 'string') {
return uuid.split('-')[0]
}
})
Expand Down

0 comments on commit 61454e2

Please sign in to comment.