We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea2a24b commit 217840bCopy full SHA for 217840b
docs/pages/releases.vue
@@ -41,6 +41,8 @@ const { data: pulls } = await useLazyFetch('/api/pulls.json', { default: () => [
41
42
const dates = computed(() => {
43
const first = releases.value[releases.value.length - 1]
44
+ if (!first) return []
45
+
46
const days = eachDayOfInterval({ start: new Date(first.published_at), end: new Date() })
47
48
return days.reverse().map(day => {
0 commit comments