Switch update and openChangelog button (#9174)

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
This commit is contained in:
Julien Roy 2021-05-14 16:55:38 +02:00 committed by GitHub
parent fe2fe7468f
commit cc0a120bf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -171,16 +171,16 @@ class HassioAddonInfo extends LitElement {
: ""}
</div>
<div class="card-actions">
<mwc-button @click=${this._updateClicked}>
${this.supervisor.localize("common.update")}
</mwc-button>
${this.addon.changelog
? html`
<mwc-button @click=${this._openChangelog}>
${this.supervisor.localize("addon.dashboard.changelog")}
</mwc-button>
`
: ""}
: html`<span></span>`}
<mwc-button @click=${this._updateClicked}>
${this.supervisor.localize("common.update")}
</mwc-button>
</div>
</ha-card>
`