fix(frontend): スラッシュを含むページを閲覧できるように (#15394)
* fix(frontend): スラッシュを含むページを閲覧できるように * Update Changelog * fix
This commit is contained in:
@@ -266,7 +266,7 @@ function showMenu(ev: MouseEvent) {
|
||||
if ($i && $i.id === page.value.userId) {
|
||||
menuItems.push({
|
||||
icon: 'ti ti-pencil',
|
||||
text: i18n.ts.editThisPage,
|
||||
text: i18n.ts.edit,
|
||||
action: () => router.push(`/pages/edit/${page.value.id}`),
|
||||
});
|
||||
|
||||
@@ -285,10 +285,6 @@ function showMenu(ev: MouseEvent) {
|
||||
}
|
||||
} else if ($i && $i.id !== page.value.userId) {
|
||||
menuItems.push({
|
||||
icon: 'ti ti-code',
|
||||
text: i18n.ts._pages.viewSource,
|
||||
action: () => router.push(`/@${props.username}/pages/${props.pageName}/view-source`),
|
||||
}, {
|
||||
icon: 'ti ti-exclamation-circle',
|
||||
text: i18n.ts.reportAbuse,
|
||||
action: reportAbuse,
|
||||
|
Reference in New Issue
Block a user