proper count for org subvaults

This commit is contained in:
Kyle Spearrin 2017-04-18 12:05:51 -04:00
parent 799fbeba72
commit b34a205ace
1 changed files with 3 additions and 1 deletions

View File

@ -2,7 +2,9 @@
<h1>
Org<span class="hidden-xs">anization</span> Vault
<small>
<span ng-pluralize count="subvaults.length" when="{'1': '{} subvault', 'other': '{} subvaults'}"></span>,
<span ng-pluralize
count="subvaults.length > 0 ? subvaults.length - 1 : 0"
when="{'1': '{} subvault', 'other': '{} subvaults'}"></span>,
<span ng-pluralize count="logins.length" when="{'1': '{} login', 'other': '{} logins'}"></span>
</small>
</h1>