Fix UI bug with cloning item while personal ownership is disabled (#1193)
This commit is contained in:
parent
bd3fdcab26
commit
3fc69f16d5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue