|
@@ -58,7 +58,7 @@ const SelectAccount: React.FC<Props> = ({ putInType, accountCreateLogs, setAccou
|
|
|
})
|
|
|
if (GrounpArray.length === 1 && !groupAccount['undefined']) {
|
|
|
return { authMainAccountId: GrounpArray?.[0]?.[0]?.authMainAccountId || GrounpArray?.[0]?.[0]?.accountId, isSelectRemote: true }
|
|
|
- } else if (GrounpArray.length === 2 && groupAccount?.['undefined']?.length === 1 && groupAccount?.['undefined']?.[0]?.isGroupMainAccount) {
|
|
|
+ } else if (GrounpArray.length === 2 && groupAccount?.['undefined']?.length === 1) {
|
|
|
const undefinedAccount = groupAccount?.['undefined'][0].accountId
|
|
|
let authMainAccountId: any
|
|
|
Object.keys(groupAccount).forEach(key => {
|