mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-26 10:46:35 +00:00
Switch update and openChangelog button (#9174)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
This commit is contained in:
parent
fe2fe7468f
commit
cc0a120bf6
@ -171,16 +171,16 @@ class HassioAddonInfo extends LitElement {
|
|||||||
: ""}
|
: ""}
|
||||||
</div>
|
</div>
|
||||||
<div class="card-actions">
|
<div class="card-actions">
|
||||||
<mwc-button @click=${this._updateClicked}>
|
|
||||||
${this.supervisor.localize("common.update")}
|
|
||||||
</mwc-button>
|
|
||||||
${this.addon.changelog
|
${this.addon.changelog
|
||||||
? html`
|
? html`
|
||||||
<mwc-button @click=${this._openChangelog}>
|
<mwc-button @click=${this._openChangelog}>
|
||||||
${this.supervisor.localize("addon.dashboard.changelog")}
|
${this.supervisor.localize("addon.dashboard.changelog")}
|
||||||
</mwc-button>
|
</mwc-button>
|
||||||
`
|
`
|
||||||
: ""}
|
: html`<span></span>`}
|
||||||
|
<mwc-button @click=${this._updateClicked}>
|
||||||
|
${this.supervisor.localize("common.update")}
|
||||||
|
</mwc-button>
|
||||||
</div>
|
</div>
|
||||||
</ha-card>
|
</ha-card>
|
||||||
`
|
`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user