forked from DebaucheryLibrarian/traxxx
Added filter presets to consent warning. Updating scenes when tag filter changes.
This commit is contained in:
@@ -75,10 +75,6 @@ async function fetchReleases() {
|
||||
this.description = this.tag.description && converter.makeHtml(escapeHtml(this.tag.description));
|
||||
}
|
||||
|
||||
async function route() {
|
||||
await this.fetchReleases();
|
||||
}
|
||||
|
||||
async function mounted() {
|
||||
await this.fetchReleases();
|
||||
this.pageTitle = this.tag.name;
|
||||
@@ -105,7 +101,8 @@ export default {
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
$route: route,
|
||||
$route: fetchReleases,
|
||||
'$store.state.ui.tagFilter': fetchReleases,
|
||||
},
|
||||
mounted,
|
||||
methods: {
|
||||
|
||||
Reference in New Issue
Block a user