File tree Expand file tree Collapse file tree 11 files changed +34
-9
lines changed
Expand file tree Collapse file tree 11 files changed +34
-9
lines changed Original file line number Diff line number Diff line change @@ -266,5 +266,5 @@ jobs:
266266 uses : ncipollo/release-action@v1
267267 with :
268268 allowUpdates : true
269- tag : v3.0.2
269+ tag : v3.0.3
270270 artifacts : " Output/*"
Original file line number Diff line number Diff line change 22; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
33
44#define MyAppName " FUNC"
5- #define MyAppVersion " 3.0.2 "
5+ #define MyAppVersion " 3.0.3 "
66#define MyAppPublisher " Galaxy Pay, LLC"
77#define MyAppPublisherURL " https://galaxy-pay.com"
88#define MyPublishPath " publish"
Original file line number Diff line number Diff line change 11rm -r Output
22
3- PKG=Output/func_3.0.2_linux -$1
3+ PKG=Output/func_3.0.3_linux -$1
44
55mkdir -p $PKG /lib/systemd/system
66mkdir -p $PKG /opt/func
Original file line number Diff line number Diff line change @@ -5,4 +5,4 @@ pkgbuild --root publish \
55 --install-location /opt/func \
66 --scripts pkg/scripts \
77 --identifier func.app \
8- Output/func_3.0.2_darwin -$1 .pkg
8+ Output/func_3.0.3_darwin -$1 .pkg
Original file line number Diff line number Diff line change 11Package: func
2- Version: 3.0.2
2+ Version: 3.0.3
33Section: base
44Priority: optional
55Architecture: amd64
Original file line number Diff line number Diff line change 11Package: func
2- Version: 3.0.2
2+ Version: 3.0.3
33Section: base
44Priority: optional
55Architecture: arm64
Original file line number Diff line number Diff line change 11{
22 "name" : " func-webui" ,
3- "version" : " 3.0.2 " ,
3+ "version" : " 3.0.3 " ,
44 "scripts" : {
55 "dev" : " vite" ,
66 "build" : " vite build" ,
Original file line number Diff line number Diff line change 66 >
77 <v-card >
88 <v-tabs
9+ v-if =" store.showNetworks"
910 :model-value =" tab"
1011 color =" primary"
1112 @update:model-value =" setNetwork"
Original file line number Diff line number Diff line change 8686 </span >
8787 </v-col >
8888 <v-col class =" text-subtitle-1" >
89- Blocks Proposed :
89+ Blocks Created :
9090 <span class =" font-weight-bold" >
9191 {{ partStats[item.address]?.proposals.toLocaleString() }}
9292 </span >
9393 </v-col >
9494 <v-col class =" text-subtitle-1" >
95- Blocks Voted :
95+ Blocks Certified :
9696 <span class =" font-weight-bold" >
9797 {{ partStats[item.address]?.votes.toLocaleString() }}
9898 </span >
Original file line number Diff line number Diff line change 3131 <Releases class =" ml-2" @release =" updateRelease" />
3232 </v-col >
3333 </v-row >
34+ <v-row align =" center" >
35+ <v-col >
36+ <div >Show Alternative Networks</div >
37+ </v-col >
38+ <v-col >
39+ <v-switch
40+ v-model =" store.showNetworks"
41+ class =" d-flex"
42+ style =" justify-content : right "
43+ color =" primary"
44+ @click.prevent =" setShowNetworks(!store.showNetworks)"
45+ />
46+ </v-col >
47+ </v-row >
3448 </v-container >
3549 </v-card >
3650 </v-dialog >
3953<script lang="ts" setup>
4054import FUNC from " @/services/api" ;
4155import { mdiClose } from " @mdi/js" ;
56+ import { NetworkId , useWallet } from " @txnlab/use-wallet-vue" ;
4257
4358const props = defineProps ({ visible: { type: Boolean , required: true } });
4459const emit = defineEmits ([" close" ]);
4560
4661const store = useAppStore ();
62+ const { activeNetwork, setActiveNetwork } = useWallet ();
4763
4864const show = computed ({
4965 get() {
@@ -59,6 +75,7 @@ const show = computed({
5975let init = false ;
6076
6177onBeforeMount (() => {
78+ if (activeNetwork .value !== " mainnet" ) setShowNetworks (true );
6279 getVersion ();
6380});
6481
@@ -107,4 +124,10 @@ async function updateRelease(release: string) {
107124 store .stopNodeServices = false ;
108125 store .downloading = false ;
109126}
127+
128+ async function setShowNetworks(val : boolean ) {
129+ store .showNetworks = val ;
130+ localStorage .setItem (" showNetworks" , val .toString ());
131+ if (! val ) setActiveNetwork (" mainnet" as NetworkId );
132+ }
110133 </script >
You can’t perform that action at this time.
0 commit comments