You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
consul/ui/packages/consul-ui/app/components/data-collection/index.hbs

8 lines
260 B

{{did-update (action (fn (set this 'term') '') @search)}}
{{yield (hash
search=(action this.search)
items=this.items
Collection=(if (gt this.items.length 0) (component 'anonymous') '')
Empty=(if (eq this.items.length 0) (component 'anonymous') '')
)}}