1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-05 23:53:33 +00:00

fix for missing personal items added prior to joining org with personal ownership policy (#1955)

This commit is contained in:
mp-bw
2022-06-16 09:55:09 -04:00
committed by Matt Portune
parent 0b2fc2a647
commit 542ef5f31a

View File

@@ -68,11 +68,7 @@ namespace Bit.App.Pages
{
_personalOwnershipPolicyApplies = await policyService.PolicyAppliesToUser(PolicyType.PersonalOwnership);
var singleOrgPolicyApplies = await policyService.PolicyAppliesToUser(PolicyType.OnlyOrg);
if (_personalOwnershipPolicyApplies && singleOrgPolicyApplies)
{
VaultFilterDescription = _organizations.First().Name;
}
else if (_vaultFilterSelection == null)
if (_vaultFilterSelection == null || (_personalOwnershipPolicyApplies && singleOrgPolicyApplies))
{
VaultFilterDescription = AppResources.AllVaults;
}