add state to verify if is seller view and toggle want to buy or sell button on top bar
This commit is contained in:
@@ -5,6 +5,7 @@ export const useEtherStore = defineStore("ether", {
|
||||
walletAddress: "",
|
||||
balance: "",
|
||||
loadingLock: false,
|
||||
sellerView: false,
|
||||
// Depósitos válidos para compra
|
||||
depositsValidList: [] as any[],
|
||||
// Depósitos adicionados na blockchain
|
||||
@@ -28,6 +29,9 @@ export const useEtherStore = defineStore("ether", {
|
||||
setLoadingLock(isLoadingLock: boolean) {
|
||||
this.loadingLock = isLoadingLock;
|
||||
},
|
||||
setSellerView(sellerView: boolean) {
|
||||
this.sellerView = sellerView;
|
||||
},
|
||||
setDepositsValidList(depositsValidList: any[]) {
|
||||
this.depositsValidList = depositsValidList;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user