ウィンドウからページのソースが見れないのを修正 (#7136)

This commit is contained in:
kabo2468 2021-01-30 14:03:11 +09:00 committed by GitHub
parent f25869d517
commit 08a2f887d2

View File

@ -20,7 +20,7 @@
</div>
<div class="_section links">
<div class="_content">
<MkA :to="`./${page.name}/view-source`" class="link">{{ $ts._pages.viewSource }}</MkA>
<MkA :to="`/@${username}/pages/${pageName}/view-source`" class="link">{{ $ts._pages.viewSource }}</MkA>
<template v-if="$i && $i.id === page.userId">
<MkA :to="`/pages/edit/${page.id}`" class="link">{{ $ts._pages.editThisPage }}</MkA>
<button v-if="$i.pinnedPageId === page.id" @click="pin(false)" class="link _textButton">{{ $ts.unpin }}</button>