open-vault/ui/app/templates/components/pgp-list.hbs
Matthew Irish 07613fc4a6
pgp list fix (#7542)
* add data selectors

* add tests for pgp-list component and refactor so initialization works

* fix comment

* fix linting

* add else statement
2019-10-09 21:09:25 -05:00

8 lines
223 B
Handlebars

{{#each listData as |key index|}}
{{pgp-file key=key index=index onChange=(action 'setKey')}}
{{else}}
<p class="has-text-grey" data-test-empty-text>
Enter a number of Key Shares to enter PGP keys.
</p>
{{/each}}