fix: widget

This commit is contained in:
Jean-Baptiste Pasquier 2021-03-29 17:34:51 +02:00
parent 1633d93c61
commit 3699ac128f
2 changed files with 6 additions and 10 deletions

View File

@ -1,12 +1,8 @@
if componentSet.has('admin') && componentSet.has('circles') if componentSet.has('admin') && componentSet.has('circles')
solid-widget(name='hubl-admin-circle-counter-alternate-fix') solid-widget(name='hubl-admin-circle-counter-alternate-fix')
template template
div solid-display(
span.icon.icon-people.icon-third.icon-large.margin-right-xsmall fields='circle'
solid-display( data-src="${src}"
fields='' widget-circle="hubl-admin-circle-counter-alternate"
data-src="${src}" )
nested-field="circle.members"
counter-template="\\\${counter}"
)
span members

View File

@ -5,7 +5,7 @@ if componentSet.has('admin') && componentSet.has('circles')
span.icon.icon-people.icon-third.icon-large.margin-right-xsmall span.icon.icon-people.icon-third.icon-large.margin-right-xsmall
solid-display( solid-display(
fields='' fields=''
data-src="${src}" data-src="${src || value}"
nested-field="members" nested-field="members"
counter-template="\\\${counter}" counter-template="\\\${counter}"
) )