mirror of
https://github.com/bitwarden/android.git
synced 2024-12-25 10:28:28 +03: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
1 changed files with 1 additions and 5 deletions
|
@ -68,11 +68,7 @@ namespace Bit.App.Pages
|
||||||
{
|
{
|
||||||
_personalOwnershipPolicyApplies = await policyService.PolicyAppliesToUser(PolicyType.PersonalOwnership);
|
_personalOwnershipPolicyApplies = await policyService.PolicyAppliesToUser(PolicyType.PersonalOwnership);
|
||||||
var singleOrgPolicyApplies = await policyService.PolicyAppliesToUser(PolicyType.OnlyOrg);
|
var singleOrgPolicyApplies = await policyService.PolicyAppliesToUser(PolicyType.OnlyOrg);
|
||||||
if (_personalOwnershipPolicyApplies && singleOrgPolicyApplies)
|
if (_vaultFilterSelection == null || (_personalOwnershipPolicyApplies && singleOrgPolicyApplies))
|
||||||
{
|
|
||||||
VaultFilterDescription = _organizations.First().Name;
|
|
||||||
}
|
|
||||||
else if (_vaultFilterSelection == null)
|
|
||||||
{
|
{
|
||||||
VaultFilterDescription = AppResources.AllVaults;
|
VaultFilterDescription = AppResources.AllVaults;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue