Merge tag '2025.2.0' into merge/2024-02-03

This commit is contained in:
dakkar 2025-02-06 10:22:57 +00:00
commit 708debf5d5
35 changed files with 127 additions and 191 deletions

View file

@ -266,7 +266,7 @@ function showMenu(ev: MouseEvent) {
if ($i && $i.id === page.value.userId) {
menuItems.push({
icon: 'ti ti-pencil',
text: i18n.ts._pages.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,