2023-03-14 13:18:55 +00:00
|
|
|
{{!
|
|
|
|
Copyright (c) HashiCorp, Inc.
|
2023-08-11 13:12:13 +00:00
|
|
|
SPDX-License-Identifier: BUSL-1.1
|
2023-03-14 13:18:55 +00:00
|
|
|
}}
|
|
|
|
|
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') '')
|
|
|
|
)}}
|