mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 15:15:34 +03:00
Fix UI bug with cloning item while personal ownership is disabled (#1193)
This commit is contained in:
parent
bd3fdcab26
commit
3fc69f16d5
1 changed files with 5 additions and 0 deletions
|
@ -342,6 +342,11 @@ namespace Bit.App.Pages
|
||||||
if (CloneMode)
|
if (CloneMode)
|
||||||
{
|
{
|
||||||
Cipher.Name += " - " + AppResources.Clone;
|
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
|
else
|
||||||
|
|
Loading…
Reference in a new issue