Skip to content
This repository was archived by the owner on Dec 31, 2024. It is now read-only.

Commit a0cc343

Browse files
SebastianS90kazupon
authored andcommitted
🐛 bug(interpolate): named formatting: use name if value is missing (#77) by @SebastianS90
1 parent 05f30b5 commit a0cc343

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/format.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export default function (Vue) {
3636
} else {
3737
result = hasOwn(args, i) ? args[i] : null
3838
if (result === null || result === undefined) {
39-
return ''
39+
return match
4040
}
4141

4242
return result

0 commit comments

Comments
 (0)