From a1aca908ed92ae03f371b4da33f5a7455c8bb21d Mon Sep 17 00:00:00 2001 From: Ralp Dexter Bongato Date: Wed, 27 Mar 2019 13:49:41 +0800 Subject: [PATCH] added additional conditional statements added additional statements for the category and tags, I found that if the post doesn't have a category or a tag selected, It will give an error saying cannot read property of length. by checking first if a tag or category exist fixed it. --- src/templates/WordPressPost.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/templates/WordPressPost.vue b/src/templates/WordPressPost.vue index 5b7ee1b..13ee401 100644 --- a/src/templates/WordPressPost.vue +++ b/src/templates/WordPressPost.vue @@ -8,7 +8,7 @@ :alt="$page.wordPressPost.featuredMedia.title" />
-