From f07662a21e4344e8d8d3d94fd50b035795e79842 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Volds=C3=A6ter?= <ole.voldsater@uib.no> Date: Fri, 11 Oct 2019 08:12:50 +0200 Subject: [PATCH] skipp intro hvis den er tom --- src/components/SubArticle.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/SubArticle.vue b/src/components/SubArticle.vue index 7ab57eb8..c2a1a162 100644 --- a/src/components/SubArticle.vue +++ b/src/components/SubArticle.vue @@ -2,7 +2,7 @@ <li class="sub_article"> <span class="sub_article_header"><a :href="body.article_id">{{article.lemmas[0]['word']}}</a></span> <ul> - <DefElement :body="body.intro" /> + <DefElement :body="body.intro" v-if="body.intro" /> <Definition :body="article.definitions[0]" /> </ul> </li> -- GitLab