mirror of https://github.com/hashicorp/consul
13 lines
335 B
Handlebars
13 lines
335 B
Handlebars
{{!
|
|
Copyright (c) HashiCorp, Inc.
|
|
SPDX-License-Identifier: MPL-2.0
|
|
}}
|
|
|
|
{{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') '')
|
|
)}}
|