diff --git a/src/components/SettingsDelegationBlock.vue b/src/components/SettingsDelegationBlock.vue index c5527fce3229..6b6dd2d4bdf6 100644 --- a/src/components/SettingsDelegationBlock.vue +++ b/src/components/SettingsDelegationBlock.vue @@ -1,12 +1,22 @@ diff --git a/src/composables/useFormSpaceSettings.ts b/src/composables/useFormSpaceSettings.ts index 3a4f95cdec14..00d82058ef87 100644 --- a/src/composables/useFormSpaceSettings.ts +++ b/src/composables/useFormSpaceSettings.ts @@ -10,6 +10,7 @@ const DEFAULT_VOTE_VALIDATION = { name: 'any', params: {} }; const DEFAULT_DELEGATION = { delegationType: 'compound-governor', delegationContract: '', + delegationNetwork: '1', delegationApi: '' }; const EMPTY_SPACE_FORM = { diff --git a/src/helpers/interfaces.ts b/src/helpers/interfaces.ts index dc64722b030e..fc39df550075 100644 --- a/src/helpers/interfaces.ts +++ b/src/helpers/interfaces.ts @@ -189,6 +189,7 @@ export interface ExtendedSpace { export interface DelegatesConfig { delegationType: DelegationTypes; delegationContract: string; + delegationNetwork: string; delegationApi: string; } export interface SpaceValidation { diff --git a/src/helpers/queries.ts b/src/helpers/queries.ts index 09773dfd7ee5..eacc199b3491 100644 --- a/src/helpers/queries.ts +++ b/src/helpers/queries.ts @@ -515,6 +515,7 @@ export const SPACE_QUERY = gql` delegationPortal { delegationType delegationContract + delegationNetwork delegationApi } treasuries {