fix version filtering wrong page (#1206)

This commit is contained in:
kevoh1516 authored and GitHub committed 2023-06-20 14:33:34 -07:00
1 parent bd51741b01
commit 14b0e8875d
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -96,6 +96,7 @@ const props = defineProps({
},
},
})
const emit = defineEmits(['switch-page'])
const data = useNuxtApp()
const route = useRoute()
@@ -140,6 +141,7 @@ async function updateQuery() {
s: includeSnapshots.value ? true : undefined,
},
})
emit('switch-page', 1)
}
</script>