Skip to content

Commit ca290ab

Browse files
committed
Fix for not given year for title error
1 parent a40840d commit ca290ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/LiveSite.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const calendarTabs = computed(() => {
5454
defineExpose({ data, calendarTabs, subtitle })
5555
5656
watchEffect(() => {
57-
document.title = `Tech Week ${data.value.year} - ${data.value ? data.value.location : ""}`
57+
document.title = `Tech Week ${data.value ? data.value.year : ""} - ${data.value ? data.value.location : ""}`
5858
})
5959
</script>
6060

0 commit comments

Comments
 (0)