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() {
|
async function mounted() {
|
||||||
this.networks = await this.$store.dispatch('fetchNetworks');
|
this.networks = await this.$store.dispatch('fetchNetworks');
|
||||||
|
this.pageTitle = 'Networks';
|
||||||
}
|
}
|
||||||
|
|
||||||
function siteCount() {
|
function siteCount() {
|
||||||
|
@ -33,6 +34,7 @@ export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
networks: [],
|
networks: [],
|
||||||
|
pageTitle: null,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|
|
@ -117,6 +117,8 @@ async function mounted() {
|
||||||
|
|
||||||
return { ...acc, [tag.group.slug]: [tag] };
|
return { ...acc, [tag.group.slug]: [tag] };
|
||||||
}, { misc: [] });
|
}, { misc: [] });
|
||||||
|
|
||||||
|
this.pageTitle = 'Tags';
|
||||||
}
|
}
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
@ -126,6 +128,7 @@ export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
tags: {},
|
tags: {},
|
||||||
|
pageTitle: null,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted,
|
mounted,
|
||||||
|
|
Loading…
Reference in New Issue