From ad93e7a6fb6549165cf848af83dc9aa1f492fdf5 Mon Sep 17 00:00:00 2001 From: Rijul Gupta Date: Thu, 28 Feb 2019 11:07:55 +1100 Subject: [PATCH] Updated null to return the original URL as we already check for null before --- src/mixins/link.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mixins/link.js b/src/mixins/link.js index b0fbd37..984e03c 100644 --- a/src/mixins/link.js +++ b/src/mixins/link.js @@ -36,7 +36,7 @@ export default { if (router) { const current = this.$route; const route = router.resolve(this.to, current, this.append); - return route ? route.href : null; + return route ? route.href : this.to; } return this.to; } -- libgit2 0.21.4