Allow splits admin to be undefined when using an existing cw4-group
This commit is contained in:
parent
2e080488e3
commit
fbfcdf9cd4
@ -77,7 +77,10 @@ const SplitsInstantiatePage: NextPage = () => {
|
|||||||
}
|
}
|
||||||
const msg =
|
const msg =
|
||||||
cw4Method === 'existing'
|
cw4Method === 'existing'
|
||||||
? { admin: splitsAdminState.value, group: { cw4_address: cw4GroupAddressState.value } }
|
? {
|
||||||
|
admin: splitsAdminState.value ? splitsAdminState.value : undefined,
|
||||||
|
group: { cw4_address: cw4GroupAddressState.value },
|
||||||
|
}
|
||||||
: {
|
: {
|
||||||
admin: splitsAdminState.value ? splitsAdminState.value : undefined,
|
admin: splitsAdminState.value ? splitsAdminState.value : undefined,
|
||||||
group: {
|
group: {
|
||||||
|
Loading…
Reference in New Issue
Block a user