From cb5d06a099d8a4cd6a87192a57d8f08481775f88 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 7 Jun 2019 20:11:23 +0900 Subject: [PATCH] Fix bug --- src/client/app/common/views/components/url.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/app/common/views/components/url.vue b/src/client/app/common/views/components/url.vue index 078c81652..b22a10097 100644 --- a/src/client/app/common/views/components/url.vue +++ b/src/client/app/common/views/components/url.vue @@ -21,10 +21,10 @@ export default Vue.extend({ props: ['url', 'rel'], data() { const isSelf = this.url.startsWith(local); - const hasRoute = + const hasRoute = isSelf && ( this.url.substr(local.length).startsWith('/@') || this.url.substr(local.length).startsWith('/notes/') || - this.url.substr(local.length).startsWith('/pages/'); + this.url.substr(local.length).startsWith('/pages/')); return { local, schema: null,