summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-05-25 09:04:16 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-05-25 09:04:16 +0900
commit0af3e15e8268b6a5a368aeaff31a442d1c34e3e1 (patch)
treef023cab39e0ef09afa2fdfe22ce8b5380612c47f /src/client
parentMerge branch 'develop' of https://github.com/syuilo/misskey into develop (diff)
downloadmisskey-0af3e15e8268b6a5a368aeaff31a442d1c34e3e1.tar.gz
misskey-0af3e15e8268b6a5a368aeaff31a442d1c34e3e1.tar.bz2
misskey-0af3e15e8268b6a5a368aeaff31a442d1c34e3e1.zip
:art:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/app/common/views/components/url.vue8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/client/app/common/views/components/url.vue b/src/client/app/common/views/components/url.vue
index 840535514d..1c437d92b4 100644
--- a/src/client/app/common/views/components/url.vue
+++ b/src/client/app/common/views/components/url.vue
@@ -1,8 +1,10 @@
<template>
<component :is="self ? 'router-link' : 'a'" class="mk-url" :[attr]="self ? url.substr(local.length) : url" :rel="rel" :target="target">
- <span class="schema">{{ schema }}//</span>
- <span class="hostname">{{ hostname }}</span>
- <span class="port" v-if="port != ''">:{{ port }}</span>
+ <template v-if="!self">
+ <span class="schema">{{ schema }}//</span>
+ <span class="hostname">{{ hostname }}</span>
+ <span class="port" v-if="port != ''">:{{ port }}</span>
+ </template>
<span class="pathname" v-if="pathname != ''">{{ pathname }}</span>
<span class="query">{{ query }}</span>
<span class="hash">{{ hash }}</span>