mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 05:23:04 +00:00
2c3b6aec05
* Switch upstream-instances to use new style of searchable * Add search action to DataCollection plus basic README * Use DataCollection for PowerSelect searching in child-selectors * Remove old style filterable search for role/policies and instances * Remove old helpers/components related to search/sort/filter
8 lines
260 B
Handlebars
8 lines
260 B
Handlebars
{{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') '')
|
|
)}}
|