mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-02-15 19:55:49 +00:00
Fix buttons
This commit is contained in:
parent
981ec74f49
commit
11d38ca911
@ -489,6 +489,7 @@ class AppView extends connect(store)(LitElement) {
|
|||||||
</div>
|
</div>
|
||||||
<div> </div>
|
<div> </div>
|
||||||
<check-for-update></check-for-update>
|
<check-for-update></check-for-update>
|
||||||
|
<div> </div>
|
||||||
<div style="display: inline;">
|
<div style="display: inline;">
|
||||||
<paper-icon-button icon="icons:exit-to-app" @click=${() => this.openLogout()} title="${translate("logout.logout")}"></paper-icon-button>
|
<paper-icon-button icon="icons:exit-to-app" @click=${() => this.openLogout()} title="${translate("logout.logout")}"></paper-icon-button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -32,15 +32,14 @@ class CheckForUpdate extends LitElement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
renderUpdateButton() {
|
renderUpdateButton() {
|
||||||
if (!isElectron) {
|
if (!isElectron()) {
|
||||||
|
return html``
|
||||||
|
} else {
|
||||||
return html`
|
return html`
|
||||||
<div style="display: inline;">
|
<div style="display: inline;">
|
||||||
<paper-icon-button icon="icons:get-app" @click=${() => this.checkupdate()} title="${translate("appspage.schange38")} UI"></paper-icon-button>
|
<paper-icon-button icon="icons:get-app" @click=${() => this.checkupdate()} title="${translate("appspage.schange38")} UI"></paper-icon-button>
|
||||||
</div>
|
</div>
|
||||||
<div> </div>
|
|
||||||
`
|
`
|
||||||
} else {
|
|
||||||
return html``
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -152,14 +152,14 @@ class NotificationsView extends connect(store)(LitElement) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
renderSetCoreButton() {
|
renderSetCoreButton() {
|
||||||
if (!isElectron) {
|
if (!isElectron()) {
|
||||||
|
return html``
|
||||||
|
} else {
|
||||||
return html`
|
return html`
|
||||||
<div style="max-width: 500px; display: flex; justify-content: center; margin: auto;">
|
<div style="max-width: 500px; display: flex; justify-content: center; margin: auto;">
|
||||||
<div @click=${() => this.checkCoreSettings()} class="q-button"> ${translate("settings.core")} </div>
|
<div @click=${() => this.checkCoreSettings()} class="q-button"> ${translate("settings.core")} </div>
|
||||||
</div>
|
</div>
|
||||||
`
|
`
|
||||||
} else {
|
|
||||||
return html``
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user