mirror of
https://github.com/bitwarden/mobile.git
synced 2024-11-23 11:45:38 +01:00
fix for missing personal items added prior to joining org with personal ownership policy (#1955)
This commit is contained in:
parent
f24388c1b5
commit
7c311fbb55
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user