From 6248ff1effc962e073097d3d8798564932626cea Mon Sep 17 00:00:00 2001 From: Martin Cech Date: Wed, 21 Dec 2022 16:07:03 -0800 Subject: [PATCH] fix links in page dropdown --- client/src/components/Page/PageDropdown.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/src/components/Page/PageDropdown.vue b/client/src/components/Page/PageDropdown.vue index 6aacf596e126..70df982ea483 100644 --- a/client/src/components/Page/PageDropdown.vue +++ b/client/src/components/Page/PageDropdown.vue @@ -49,23 +49,23 @@ export default { props: ["page", "root"], computed: { urlEdit() { - return `${this.root}page/edit_content?id=${this.page.id}`; + return `${this.root}pages/editor?id=${this.page.id}`; }, urlEditAttributes() { - return `${this.root}page/edit?id=${this.page.id}`; + return `${this.root}pages/edit?id=${this.page.id}`; }, urlShare() { return `${this.root}pages/sharing?id=${this.page.id}`; }, urlView() { - return `${this.root}page/display_by_id?id=${this.page.id}`; + return `${this.root}published/page?id=${this.page.id}`; }, readOnly() { return !!this.page.shared; }, }, created() { - this.services = new Services({ root: this.root }); + this.services = new Services(); }, methods: { onDelete() {