Skip to content

Commit

Permalink
fix links in page dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
martenson committed Dec 22, 2022
1 parent 3499d6e commit 6248ff1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions client/src/components/Page/PageDropdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 6248ff1

Please sign in to comment.