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')
solid-widget(name='hubl-admin-circle-counter-alternate-fix')
template
div
span.icon.icon-people.icon-third.icon-large.margin-right-xsmall
solid-display(
fields=''
data-src="${src}"
nested-field="circle.members"
counter-template="\\\${counter}"
)
span members
solid-display(
fields='circle'
data-src="${src}"
widget-circle="hubl-admin-circle-counter-alternate"
)

View File

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