fix: router

This commit is contained in:
Jean-Baptiste Pasquier 2021-04-23 14:44:40 +02:00
parent 311bffcc1b
commit fbedd4e3e6
2 changed files with 2 additions and 1 deletions

View File

@ -13,7 +13,7 @@ div.segment.full.padding-large.sm-padding-xsmall.sm-padding-top-medium.whitespac
solid-ac-checker(data-src=`${getComponent('projects').endpoints.post}`, permission='acl:Append')
solid-link(
class='segment sm-full button text-xsmall text-bold text-uppercase text-center reversed color-secondary bordered icon icon-plus'
next='admin-projects-create'
next=`admin-${getRoute('projects', true)}-create`
data-trans='project.list.buttonCreate'
)

View File

@ -81,6 +81,7 @@ solid-router#navbar-router(default-route=defaultRoute)
solid-link.segment.block.menu-icon.icon.icon-small.icon-user-follow(next=getRoute('profileDirectory', true))
solid-badge.badge(data-type="Message")
solid-route(name=`admin-${component.route}`, hidden)
solid-route(name=`admin-${component.route}-create` hidden)
solid-route(name=component.route, rdf-type='foaf:user', use-id='', hidden)
div.sub-menu.menu-notification.padding-bottom-xxsmall.jsMenuSub
div.loader.loader-menu(id=`loader-${component.route}`)