1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-12-26 16:57:59 +01:00

Fix UI bug with cloning item while personal ownership is disabled (#1193)

This commit is contained in:
Vincent Salucci 2020-12-29 15:37:50 -06:00 committed by GitHub
parent bd3fdcab26
commit 3fc69f16d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -342,6 +342,11 @@ namespace Bit.App.Pages
if (CloneMode)
{
Cipher.Name += " - " + AppResources.Clone;
// If not allowing personal ownership, update cipher's org Id to prompt downstream changes
if (Cipher.OrganizationId == null && !AllowPersonal)
{
Cipher.OrganizationId = OrganizationId;
}
}
}
else