fix: correctly display links to self instance URL
Closes #9270 Co-authored-by: GitHub <futchitwo>
This commit is contained in:
parent
28dd7e0393
commit
087f3aaaa2
|
@ -3,7 +3,7 @@
|
||||||
:is="self ? 'MkA' : 'a'"
|
:is="self ? 'MkA' : 'a'"
|
||||||
ref="el"
|
ref="el"
|
||||||
class="ieqqeuvs _link"
|
class="ieqqeuvs _link"
|
||||||
:[attr]="self ? url.substr(local.length) : url"
|
:[attr]="self ? props.url.substring(local.length) : props.url"
|
||||||
:rel="rel"
|
:rel="rel"
|
||||||
:target="target"
|
:target="target"
|
||||||
@contextmenu.stop="() => {}"
|
@contextmenu.stop="() => {}"
|
||||||
|
@ -18,7 +18,7 @@
|
||||||
<span class="self">{{ hostname }}</span>
|
<span class="self">{{ hostname }}</span>
|
||||||
</template>
|
</template>
|
||||||
<span v-if="pathname != ''" class="pathname">{{
|
<span v-if="pathname != ''" class="pathname">{{
|
||||||
self ? pathname.substr(1) : pathname
|
self ? pathname.substring(1) : pathname
|
||||||
}}</span>
|
}}</span>
|
||||||
<span class="query">{{ query }}</span>
|
<span class="query">{{ query }}</span>
|
||||||
<span class="hash">{{ hash }}</span>
|
<span class="hash">{{ hash }}</span>
|
||||||
|
|
Loading…
Reference in New Issue