Skip to content

Commit

Permalink
🐛 bug(interpolate): named formatting: use name if value is missing (#77
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianS90 authored and kazupon committed Oct 29, 2016
1 parent 05f30b5 commit a0cc343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/format.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default function (Vue) {
} else {
result = hasOwn(args, i) ? args[i] : null
if (result === null || result === undefined) {
return ''
return match
}

return result
Expand Down

0 comments on commit a0cc343

Please sign in to comment.