Skip to content

Commit

Permalink
Update I18n.js
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgergo authored Jun 22, 2019
1 parent 86a449f commit 2e8a610
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/I18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export default class I18n
);
}

return translation.trim();
return typeof translation === 'string' ? translation.trim() : translation;
}

/**
Expand Down

0 comments on commit 2e8a610

Please sign in to comment.