fix: extension.route on circles
This commit is contained in:
parent
7d4378b862
commit
31d5357028
@ -16,7 +16,7 @@
|
|||||||
include partials/circle/page-circle-profile.pug
|
include partials/circle/page-circle-profile.pug
|
||||||
if component.extensions
|
if component.extensions
|
||||||
for extension of component.extensions
|
for extension of component.extensions
|
||||||
if extension.type == 'events'
|
if extension.type == 'events' && extension.route
|
||||||
div(
|
div(
|
||||||
id=`${extension.route}-events`
|
id=`${extension.route}-events`
|
||||||
hidden
|
hidden
|
||||||
@ -24,7 +24,7 @@
|
|||||||
no-render
|
no-render
|
||||||
)
|
)
|
||||||
include partials/circle/page-circle-events.pug
|
include partials/circle/page-circle-events.pug
|
||||||
if extension.type == 'resources'
|
if extension.type == 'resources' && extension.route
|
||||||
div(
|
div(
|
||||||
id=`${extension.route}-resources`
|
id=`${extension.route}-resources`
|
||||||
hidden
|
hidden
|
||||||
@ -32,7 +32,7 @@
|
|||||||
no-render
|
no-render
|
||||||
)
|
)
|
||||||
include partials/circle/page-circle-resources.pug
|
include partials/circle/page-circle-resources.pug
|
||||||
if extension.type == 'polls'
|
if extension.type == 'polls' && extension.route
|
||||||
div(
|
div(
|
||||||
id=`${extension.route}-polls`
|
id=`${extension.route}-polls`
|
||||||
hidden
|
hidden
|
||||||
@ -59,17 +59,17 @@ nav.jsRightMenu.segment.sm-hidden.text-disable-selection.sidebar.whitespace-norm
|
|||||||
a(data-trans='circle.menuRight.information')
|
a(data-trans='circle.menuRight.information')
|
||||||
if component.extensions
|
if component.extensions
|
||||||
for extension of component.extensions
|
for extension of component.extensions
|
||||||
if extension.type == 'resources'
|
if extension.type == 'resources' && extension.route
|
||||||
solid-route.segment.full(name=`${extension.route}-resources` use-id)
|
solid-route.segment.full(name=`${extension.route}-resources` use-id)
|
||||||
li.segment.full.padding-medium
|
li.segment.full.padding-medium
|
||||||
span.icon.ci-file.icon-xlarge.margin-right-medium
|
span.icon.ci-file.icon-xlarge.margin-right-medium
|
||||||
a(data-trans='circle.menuRight.resources')
|
a(data-trans='circle.menuRight.resources')
|
||||||
if extension.type == 'events'
|
if extension.type == 'events' && extension.route
|
||||||
solid-route.segment.full(name=`${extension.route}-events` use-id)
|
solid-route.segment.full(name=`${extension.route}-events` use-id)
|
||||||
li.segment.full.padding-medium
|
li.segment.full.padding-medium
|
||||||
span.icon.ci-appointment.icon-xlarge.margin-right-medium
|
span.icon.ci-appointment.icon-xlarge.margin-right-medium
|
||||||
a(data-trans='circle.menuRight.events')
|
a(data-trans='circle.menuRight.events')
|
||||||
if extension.type == 'polls'
|
if extension.type == 'polls' && extension.route
|
||||||
solid-route.segment.full(name=`${extension.route}-polls` use-id)
|
solid-route.segment.full(name=`${extension.route}-polls` use-id)
|
||||||
li.segment.full.padding-medium
|
li.segment.full.padding-medium
|
||||||
span.icon.ci-list.icon-xlarge.margin-right-medium
|
span.icon.ci-list.icon-xlarge.margin-right-medium
|
||||||
|
Loading…
Reference in New Issue
Block a user