Added filter presets to consent warning. Updating scenes when tag filter changes.

This commit is contained in:
DebaucheryLibrarian
2021-01-04 01:30:39 +01:00
parent ab83a42dfb
commit 62ef041b35
8 changed files with 153 additions and 52 deletions

View File

@@ -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: {