fix(empty-states): properly render empty content warning and add e2e test config

This commit is contained in:
Benedikt Rötsch
2018-03-07 14:02:14 +01:00
committed by Khaled Garbaya
parent 005c8013f8
commit 1baef21340
5 changed files with 11 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ block content
.layout-centered
+editorialFeatures(landingPage)
.modules-container
if landingPage.fields.contentModules.length
if landingPage.fields.contentModules && landingPage.fields.contentModules.length
each module in landingPage.fields.contentModules
case module.sys.contentType.sys.id
when 'layoutCopy'