Skip to content

Commit d50d557

Browse files
authored
Merge pull request #3676 from IntersectMBO/fix/update-network-references
Fix: update govaction loader network references
2 parents 74c6824 + 074afd0 commit d50d557

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

gov-action-loader/frontend/src/App.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ export default {
7070
data() {
7171
return {
7272
tab: null,
73-
selectedNetwork: 'Sanchonet', // Default selection
74-
networkOptions: ['Sanchonet', 'Preview', 'Preprod'],
73+
selectedNetwork: 'Preview', // Default selection
74+
networkOptions: ['Preview', 'Preprod'],
7575
walletInfo: {
7676
address: null,
7777
balance: null,

gov-action-loader/frontend/src/views/BulkLoad.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { prepareErrorMessage } from '../utils'
99
<!--For displaying the title and description-->
1010
<div class="mb-4">
1111
<div class="text-h5">Governance Action Bulk Loader</div>
12-
<div class="text-grey mt-1">Submit to load the required number of a given action to sanchonet.</div>
12+
<div class="text-grey mt-1">Submit to load the required number of a given action to {{ selectedNetwork.toLowerCase() }}.</div>
1313
</div>
1414

1515
<!--For selecting the action type and number of proposals-->
@@ -68,6 +68,9 @@ import { prepareErrorMessage } from '../utils'
6868
import { submitMultipleProposals } from '../api'
6969
7070
export default {
71+
props: {
72+
selectedNetwork: String,
73+
},
7174
data() {
7275
return {
7376
actionTypes: ['Constitution', 'Info', 'Withdrawal', 'No-Confidence', 'Update-Committee', 'Hardfork', 'Update-Parameters'],

gov-action-loader/frontend/src/views/SpecificLoad.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import config from '../config'
77
<!-- Helper title and subtext -->
88
<div class="mb-4">
99
<div class="text-h5">Specific Governance Action Loader</div>
10-
<div class="text-grey mt-1">Fill in the details according to specific action submit to sanchonet.</div>
10+
<div class="text-grey mt-1">Fill in the details according to specific action submit to {{ selectedNetwork.toLowerCase() }}.</div>
1111
</div>
1212
<!-- Form for action loader -->
1313
<div class="mt-8">

0 commit comments

Comments
 (0)