Display & set the public page url

parent dc0e78d7
......@@ -233,6 +233,7 @@
this.loading = false;
this.page = response.data.data;
this.tags = response.data.data.tags;
$('.publicUrl').attr('href', this.page.urls.public_url).show();
})
.catch(error => {
})
......@@ -250,6 +251,9 @@
if (this.$route.params.pageId !== undefined) {
this.fetchPage();
}
},
destroyed() {
$('.publicUrl').hide();
}
}
</script>
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment