From 62614000dfa4d4a1c243da7e826158a328c91bfb Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Wed, 29 Jan 2020 11:30:25 +0100 Subject: Fix undefined head --- pages/kronika/_year/_month/_day/_title/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pages/kronika/_year/_month') diff --git a/pages/kronika/_year/_month/_day/_title/index.vue b/pages/kronika/_year/_month/_day/_title/index.vue index 0bd6c80..d67acbc 100644 --- a/pages/kronika/_year/_month/_day/_title/index.vue +++ b/pages/kronika/_year/_month/_day/_title/index.vue @@ -23,7 +23,7 @@ import { apiUrl } from '~/api' export default { head() { - if (!this.notFound) { + if (!this.notFound && this.attributes) { return { meta: [ { -- cgit 1.4.1