diff --git a/src/client/pages/page-editor/page-editor.vue b/src/client/pages/page-editor/page-editor.vue
index 45997dfd6..08856ebfe 100644
--- a/src/client/pages/page-editor/page-editor.vue
+++ b/src/client/pages/page-editor/page-editor.vue
@@ -4,9 +4,9 @@
{{ $ts._pages.viewPage }}
- {{ $ts.save }}
+ {{ $ts.save }}
{{ $ts.duplicate }}
- {{ $ts.delete }}
+ {{ $ts.delete }}
@@ -134,12 +134,18 @@ export default defineComponent({
data() {
return {
- INFO: computed(() => this.initPageId ? {
- title: this.$ts._pages.editPage,
- icon: faPencilAlt,
- } : {
- title: this.$ts._pages.newPage,
- icon: faPencilAlt,
+ INFO: computed(() => {
+ let title = this.$ts._pages.newPage;
+ if (this.initPageId) {
+ title = this.$ts._pages.editPage;
+ }
+ else if (this.initPageName && this.initUser) {
+ title = this.$ts._pages.readPage;
+ }
+ return {
+ title: title,
+ icon: faPencilAlt,
+ };
}),
author: this.$i,
readonly: false,