fix: circles without extensions

This commit is contained in:
Jean-Baptiste Pasquier 2021-04-15 13:35:48 +02:00
parent e6ae9d036c
commit b6ca0c85ed

View File

@ -14,6 +14,7 @@
no-render no-render
) )
include partials/circle/page-circle-profile.pug include partials/circle/page-circle-profile.pug
if component.extensions
for extension of component.extensions for extension of component.extensions
if extension.type == 'events' if extension.type == 'events'
div( div(
@ -56,6 +57,7 @@ nav.jsRightMenu.text-disable-selection.sidebar.whitespace-normal(role='navigatio
li.segment.full.padding-medium li.segment.full.padding-medium
span.icon.ci-information.icon-xlarge.margin-right-medium span.icon.ci-information.icon-xlarge.margin-right-medium
a(data-trans='circle.menuRight.information') a(data-trans='circle.menuRight.information')
if component.extensions
for extension of component.extensions for extension of component.extensions
if extension.type == 'resources' if extension.type == 'resources'
solid-route.segment.full(name=`${component.route}-resources` use-id) solid-route.segment.full(name=`${component.route}-resources` use-id)