From c48d04de0fe4d64fb303345a1897b8d61c4eb11b Mon Sep 17 00:00:00 2001 From: Niels Simenon Date: Fri, 31 Jan 2020 00:12:58 +0100 Subject: [PATCH] Set page title for networks and tags overviews. --- assets/components/networks/networks.vue | 2 ++ assets/components/tags/tags.vue | 3 +++ 2 files changed, 5 insertions(+) diff --git a/assets/components/networks/networks.vue b/assets/components/networks/networks.vue index 2d2c72aa..0e22be78 100644 --- a/assets/components/networks/networks.vue +++ b/assets/components/networks/networks.vue @@ -20,6 +20,7 @@ import Network from '../tile/network.vue'; async function mounted() { this.networks = await this.$store.dispatch('fetchNetworks'); + this.pageTitle = 'Networks'; } function siteCount() { @@ -33,6 +34,7 @@ export default { data() { return { networks: [], + pageTitle: null, }; }, computed: { diff --git a/assets/components/tags/tags.vue b/assets/components/tags/tags.vue index 28d0ca3b..d9ff63b3 100644 --- a/assets/components/tags/tags.vue +++ b/assets/components/tags/tags.vue @@ -117,6 +117,8 @@ async function mounted() { return { ...acc, [tag.group.slug]: [tag] }; }, { misc: [] }); + + this.pageTitle = 'Tags'; } export default { @@ -126,6 +128,7 @@ export default { data() { return { tags: {}, + pageTitle: null, }; }, mounted,