FIX: limit other accounts deletion to 50 accounts otherwise it'll feel too slow

This commit is contained in:
Régis Hanol
2014-11-24 18:05:40 +01:00
parent 7f9747f55c
commit 7b1c001932
4 changed files with 11 additions and 4 deletions

View File

@@ -41,8 +41,8 @@
{{i18n ip_lookup.other_accounts}}
<strong>{{other_accounts.length}}</strong>
{{#if other_accounts.length}}
<button class="btn btn-danger pull-right" {{action "deleteAllOtherAccounts"}}>
{{fa-icon "warning"}}{{i18n ip_lookup.delete_all}}
<button class="btn btn-danger pull-right" {{action "deleteOtherAccounts"}}>
{{fa-icon "warning"}}{{i18n ip_lookup.delete_other_accounts}}
</button>
{{/if}}
</dt>