diff --git a/client/src/components/Page/PageDropdown.vue b/client/src/components/Page/PageDropdown.vue index 018d7a705a73..844c6480471c 100644 --- a/client/src/components/Page/PageDropdown.vue +++ b/client/src/components/Page/PageDropdown.vue @@ -18,7 +18,6 @@ interface Page { } interface PageDropdownProps { page: Page; - root: string; published?: Boolean; } @@ -27,10 +26,6 @@ const { isAnonymous } = storeToRefs(useUserStore()); const emit = defineEmits(["onRemove", "onSuccess", "onError"]); -const urlEdit = computed(() => `${props.root}pages/editor?id=${props.page.id}`); -const urlEditAttributes = computed(() => `${props.root}pages/edit?id=${props.page.id}`); -const urlShare = computed(() => `${props.root}pages/sharing?id=${props.page.id}`); -const urlView = computed(() => `${props.root}published/page?id=${props.page.id}`); const readOnly = computed(() => props.page.shared || props.published || unref(isAnonymous)); function onDelete(page_id: string) { @@ -57,22 +52,31 @@ function onDelete(page_id: string) {

{{ props.page.description }}