2023-03-14 13:18:55 +00:00
|
|
|
{{!
|
|
|
|
Copyright (c) HashiCorp, Inc.
|
|
|
|
SPDX-License-Identifier: MPL-2.0
|
|
|
|
}}
|
|
|
|
|
2020-12-09 19:12:17 +00:00
|
|
|
{{did-update (action (fn (set this 'term') '') @search)}}
|
2020-12-01 15:45:09 +00:00
|
|
|
{{yield (hash
|
2020-12-09 19:12:17 +00:00
|
|
|
search=(action this.search)
|
2020-12-01 15:45:09 +00:00
|
|
|
items=this.items
|
|
|
|
Collection=(if (gt this.items.length 0) (component 'anonymous') '')
|
|
|
|
Empty=(if (eq this.items.length 0) (component 'anonymous') '')
|
|
|
|
)}}
|