diff --git a/src/menu-left.pug b/src/menu-left.pug index e5fec82..2dfa6a7 100644 --- a/src/menu-left.pug +++ b/src/menu-left.pug @@ -1,6 +1,6 @@ sib-widget(name='hd-counter') template - sib-badge(data-src="${src}") + sib-badge(data-src="${value}") sib-widget(name='hd-create') template @@ -56,19 +56,14 @@ nav#main__menu.jsLeftMenu sib-route(name='circle', rdf-type='hd:circle', use-id='', hidden) div.sub-menu.menu-notification sib-display( - data-src=`${endpoints.circles}` - fields='name, badge' + bind-user + nested-field='circles' + fields='circle.name, circle' empty-widget='hd-create' empty-value='circle' - widget-name='sib-display-div', - widget-badge='hd-counter' - action-badge='badge' - search-fields='team' - search-widget-team='sib-form-hidden' - search-value-team='-' - hd-inherit-user-id='search-value-team' - hd-inherit-widgets - order-by='name' + widget-circle.name='sib-display-div' + widget-circle='hd-counter' + order-by='circle.name' next='circle' ) div.divider