fix: extension route check
This commit is contained in:
parent
6286c5a519
commit
7d4378b862
@ -23,7 +23,7 @@
|
||||
include partials/project/page-project-picture.pug
|
||||
if component.extensions
|
||||
for extension of component.extensions
|
||||
if extension.type == 'invoices'
|
||||
if extension.type == 'invoices' && extension.route
|
||||
div(
|
||||
id=`${extension.route}-invoices`
|
||||
hidden
|
||||
@ -51,7 +51,7 @@ nav.jsRightMenu.segment.sm-hidden.text-disable-selection.sidebar.whitespace-norm
|
||||
solid-route(name=`${component.route}-picture` use-id)
|
||||
if component.extensions
|
||||
for extension of component.extensions
|
||||
if extension.type == 'invoices'
|
||||
if extension.type == 'invoices' && extension.route
|
||||
solid-route.segment.full(name=`${extension.route}-invoices` use-id)
|
||||
li.segment.full.padding-medium
|
||||
span.icon.ci-receipt.icon-xlarge.margin-right-medium
|
||||
|
Loading…
Reference in New Issue
Block a user