${this.soldBTCTemplate()}
@@ -1328,7 +1313,11 @@ class UserInfoView extends connect(store)(LitElement) {
await this.getAddressUserBalance(myAddress)
this.displayAddress = this.addressResult.address
this.displayLevel = this.addressResult.level
- this.shadowRoot.getElementById('userInfoDialog').open()
+ this.isLoadingCompleteInfo = true
+ this.shadowRoot.getElementById('userFullInfoDialog').open()
+ await this.getStartMint()
+ await this.getPaymentsGridItems()
+ this.isLoadingCompleteInfo = false
}
async getAddressUserInfo(infoAddress) {
@@ -1782,20 +1771,11 @@ class UserInfoView extends connect(store)(LitElement) {
}).filter(item => !!item)
}
- openMoreInfoDialog() {
- this.shadowRoot.getElementById('userMoreInfoDialog').open()
+ openTrades() {
+ this.shadowRoot.getElementById('userTrades').open()
this.shadowRoot.getElementById('userInfoDialog').close()
}
- async openCompleteInfoDialog() {
- this.isLoadingCompleteInfo = true
- this.shadowRoot.getElementById('userFullInfoDialog').open()
- this.shadowRoot.getElementById('userMoreInfoDialog').close()
- await this.getStartMint()
- await this.getPaymentsGridItems()
- this.isLoadingCompleteInfo = false
- }
-
async openUserBoughtDialog() {
this.shadowRoot.getElementById('userBoughtDialog').open()
this.explorerBoughtBTCTrades = []
@@ -1852,16 +1832,12 @@ class UserInfoView extends connect(store)(LitElement) {
this.isLoadingSoldTradesARRR = false
}
- closeInfoDialog() {
- this.shadowRoot.getElementById('userInfoDialog').close()
- }
-
closeErrorDialog() {
this.shadowRoot.getElementById('userErrorDialog').close()
}
- closeMoreInfoDialog() {
- this.shadowRoot.getElementById('userMoreInfoDialog').close()
+ closeTrades() {
+ this.shadowRoot.getElementById('userTrades').close()
}
closeCompleteInfoDialog() {
@@ -1895,4 +1871,4 @@ class UserInfoView extends connect(store)(LitElement) {
}
}
-window.customElements.define('user-info-view', UserInfoView)
\ No newline at end of file
+window.customElements.define('user-info-view', UserInfoView)