1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-26 17:08:33 +01:00

proper count for org subvaults

This commit is contained in:
Kyle Spearrin 2017-04-18 12:05:51 -04:00
parent 799fbeba72
commit b34a205ace

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>