diff --git a/src/components/SettingsDelegationBlock.vue b/src/components/SettingsDelegationBlock.vue index c5527fce322..6b6dd2d4bdf 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 3a4f95cdec1..00d82058ef8 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 dc64722b030..fc39df55007 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 09773dfd7ee..eacc199b349 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 {