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