forked from DebaucheryLibrarian/traxxx
Set page title for networks and tags overviews.
This commit is contained in:
parent
aab304dd20
commit
c48d04de0f
|
@ -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: {
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue