Skip to content

Commit

Permalink
Merge pull request #414 from arcana-network/shrinath/release-custom-v…
Browse files Browse the repository at this point in the history
…erifier-near-to-mainnet

Show Custom Verifier and Near on Mainnet apps
  • Loading branch information
shrinathprabhu authored Jun 13, 2024
2 parents 66af823 + dfa38ac commit ce571d3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/app-configure/auth/AuthSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const keyspace = app.keyspace
</div>
<SocialAuthProvider />
<IAMProviders />
<CustomVerifier v-if="app.network === 'testnet'" />
<CustomVerifier />
</div>
</VStack>
</main>
Expand Down
8 changes: 5 additions & 3 deletions src/pages/AppDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -210,13 +210,13 @@ async function handleCreateMainnetApp({
}
const updatedMainnetApp = (
await updateApp(mainnetApp?.ID, updatedMainnetAppConfig, 'mainnet')
).data.app
)?.data.app
mainnetAppConfig['global_id'] = updatedMainnetApp.global_id
await appsStore.fetchAndStoreAppConfig(mainnetApp?.ID, 'mainnet')
const updatedTestnetApp = (
await updateApp(testnetApp.id, { global_id: mainnetApp?.ID }, 'testnet')
).data.app
)?.data.app
testnetApp.global_id = updatedTestnetApp.global_id
await appsStore.fetchAndStoreAppConfig(updatedTestnetApp?.ID, 'testnet')
Expand Down Expand Up @@ -303,7 +303,9 @@ watch(
v-model="currentNetwork"
:options="NetworkOptions"
display-field="label"
:disabled="selectedApp.chain_type === 'near' && isProductionDashboard"
:disabled="
selectedApp.chain_type === 'random' && isProductionDashboard
"
class="app-details__network-dropdown"
@change="(_, option) => onNetworkSwitch(option)"
/>
Expand Down

0 comments on commit ce571d3

Please sign in to comment.