Make changing tags reactive
This commit is contained in:
parent
711aa783b3
commit
1837107ae8
|
@ -94,7 +94,7 @@ const fetchData = async () => {
|
||||||
|
|
||||||
const store = useStore()
|
const store = useStore()
|
||||||
watch(() => store.state.moderation.lastUpdate, fetchData)
|
watch(() => store.state.moderation.lastUpdate, fetchData)
|
||||||
watch(page, fetchData)
|
watch([page, tags], fetchData)
|
||||||
fetchData()
|
fetchData()
|
||||||
|
|
||||||
const search = () => {
|
const search = () => {
|
||||||
|
|
|
@ -95,7 +95,7 @@ const fetchData = async () => {
|
||||||
|
|
||||||
const store = useStore()
|
const store = useStore()
|
||||||
watch([() => store.state.moderation.lastUpdate, excludeCompilation], fetchData)
|
watch([() => store.state.moderation.lastUpdate, excludeCompilation], fetchData)
|
||||||
watch(page, fetchData)
|
watch([page, tags], fetchData)
|
||||||
fetchData()
|
fetchData()
|
||||||
|
|
||||||
const search = () => {
|
const search = () => {
|
||||||
|
|
|
@ -96,7 +96,7 @@ const fetchData = async () => {
|
||||||
|
|
||||||
const store = useStore()
|
const store = useStore()
|
||||||
watch(() => store.state.moderation.lastUpdate, fetchData)
|
watch(() => store.state.moderation.lastUpdate, fetchData)
|
||||||
watch(page, fetchData)
|
watch([page, tags], fetchData)
|
||||||
fetchData()
|
fetchData()
|
||||||
|
|
||||||
const search = () => {
|
const search = () => {
|
||||||
|
|
Loading…
Reference in New Issue