Fix cannot duplicate same profile more than once
This commit is contained in:
parent
fc784ffeb1
commit
17198e53eb
|
@ -238,8 +238,8 @@ extension ProfileManager {
|
|||
return nil
|
||||
}
|
||||
let copy = source
|
||||
.renamedUniquely(withLastUpdate: false)
|
||||
.withNewId()
|
||||
.renamedUniquely(withLastUpdate: false)
|
||||
|
||||
saveProfile(copy, isActive: nil)
|
||||
return copy
|
||||
|
|
Loading…
Reference in New Issue